Resource Base
Table of contents

UpdatePageOptions

Syntax

interface UpdatePageOptions {
    fileIndex?: number; 
    rotation?: number; 
    filter?: string; 
    perspectiveQuad?: Quad; 
}

Attributes

fileIndex

Specify the page index of the file.

If it is not specified, the first page in the file will be the updated page.

If it is out of range, the last page in the file will be the updated page.

rotation

The rotation angle of specified page.

Remark

  • Only multiples of 90 degrees are supported.
  • Positive value means clockwise rotation, negative value means counterclockwise rotation.

filter

The filter type of the updated page.

Remark

perspectiveQuad

The quadangle for perspective transformation in updated page. Please refer to Quad.

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article:

latest version

    • Latest version(2.0)
    • Version 1.x
      • Version 1.1
    Change +