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
- If
imageFilter
handler is not set, the filter type won’t be applied to the updated page. Please refer tosetProcessingHandler()
and How to configure image filter.
perspectiveQuad
The quadangle for perspective transformation in updated page. Please refer to Quad
.