Resource Base
Table of contents

PageData

Syntax

interface PageData {
    uid: string; 
    fileData: Blob; 
    fileIndex?: number; 
    filter?: string; 
    perspectiveQuad?: Quad; 
    rotation?: number; 
    raw?: {
        width: number;
        height: number;
        data: Blob;
    },
    thumbnail?: {
        width: number;
        height: number;
        data: Blob;
    },
    display?: {
        width: number;
        height: number;
        data: Blob;
    },
    mediaBox: Rect, 
    cropBox: Rect
}

Attributes

uid

The uid of the page.

fileData

The blob of the original file.

fileIndex

The page index for the specified page in the original file.

filter

The filter type of the specified page.

perspectiveQuad

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

rotation

The rotation angle of specified page.

raw

The raw width, height, data of the specified page.

thumbnail

The width, height, data of the specified page in thumbnail view.

display

The width, height, data of the specified page in display view.

mediaBox

MediaBox in the specified page. Units for left, top, width, and height are in points.

cropBox

The crop area of the specified page. Units for left, top, width, and height are in points.

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 +