Resource Base
Table of contents

Source

Syntax

interface Source {
    fileData: Blob; 
    extraPageData?: ExtraPageData[]; 
    pageWidth: number;  
    pageHeight: number; 
}

Attributes

fileData

The blob of the file to be loaded.

extraPageData

The extra data to be set. Please refer to ExtraPageData;

pageWidth

The page width of the displayed page. The unit is point.

pageHeight

The page height of the displayed page. The unit is point.

Common page sizes:

Page size pageWidth (pt) pageHeight (pt)
Letter 612 792
Legal 612 1008
A4 597.6 842.4
A3 842.4 1188

Remark

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 +