Resource Base
Table of contents

{RemoteScanObject}.Viewer

All the APIs listed on local viewer are supported.

Additional supported

crop

Crop the specified image using the specified rectangle.

Syntax

crop(index: number,rect: rect): promise<void>;

Parameters

index: The index of the current page.

rect: Some attribute values of the selected area. Please refer to rect.


rotate

Rotate the specified image by the specified angle.

Syntax

rotate(index: number, angle: number, keepSize: boolean): promise<void>;

Parameters

index: Specify the image.

angle: Specify the angle.

keepSize: Whether to keep the original size.


errorCode

Return the error code.

Syntax

readonly errorCode: number;

errorString

Return the error string.

Syntax

readonly errorString: string;

Is this page helpful?

YesYes NoNo

In this article:

latest version

    • Latest version
    • Version 18.2
    Change +
    © 2003–2023 Dynamsoft. All rights reserved.
    Privacy Statement / Site Map / Home / Purchase / Support