| layout | default-layout |
|---|---|
| needAutoGenerateSidebar | true |
| needGenerateH3Content | true |
| noTitleIndex | true |
| title | Dynamsoft Document Viewer API Reference - Interface IPageData |
| keywords | Documentation, Dynamsoft Document Viewer, API Reference, Interface IPageData |
| breadcrumbText | Interface IPageData |
| description | Dynamsoft Document Viewer Documentation API Reference Interface IPageData Page |
interface IPageData {
get uid(): string;
get fileIndex(): number;
get filter(): string;
get perspectiveQuad(): Quad;
get rotation(): number;
get mediaBox(): Rect;
get cropBox(): Rect;
fileData(): Promise<Blob>;
raw(): Promise<PageImageInfo>;
display(): Promise<PageImageInfo>;
thumbnail(): Promise<PageImageInfo>;
destroy(): void;
}The uid of the page.
The page index for the specified page in the original file.
The filter type of the specified page.
The quadangle for perspective transformation in specified page. Please refer to Quad.
The rotation angle of specified page.
MediaBox in the specified page. Units for left, top, width, and height are in points.
The crop area of the specified page. Units for left, top, width, and height are in points.
Get the blob of the original file.
Get the raw width, height, data of the specified page.
Get the width, height, data of the specified page in thumbnail view.
Get the width, height, data of the specified page in display view.
Destroy the page data to avoid memory leak.
- [
getPageData()]({{ site.api }}interface/idocument/index.html#getpagedata) RectPageImageInfo