Options

From PDF XChange PDF SDK
Revision as of 15:25, 12 May 2015 by Socrat (Talk | contribs)

Jump to: navigation, search


Options Table

Name Type Value
PaperType Integer Specifies type of paper size that should be used for newly added pages. Possible values are:
0 (Document) use size of first page of the document;
1 (Standard) use standard page size specified by StdPaperIndex parameter;
2 (Custom) use page size specified by Width, and Height parameters.

Default value: 1 (Standard)

Landscape Boolean Specifies orientation of the page.

Default value: false

StdPaperIndex Integer Specifies one of standard predefined page size. The list of possible values are shown in the table.
Width Double Specifies width of new pages in pt (1 pt = 1/72 in). The value should be in range from 3 to 14400. This parameter is used when PaperType has value of 2 (Custom).

Default value: 595.28 (equivalent of 210 mm).

Height Double Specifies width of new pages in pt (1 pt = 1/72 in). The value should be in range from 3 to 14400. This parameter is used when PaperType has value of 2 (Custom).

Default value: 841.89 (equivalent of 297 mm).

Count Integer
Rotation Integer
Adv1 Dictionary
Adv2 Dictionary

Adv1 Table

Name Type Value
PaperType Integer Array of IUnknown-based objects.

Adv2 Table

Name Type Value
PaperType Integer Array of IUnknown-based objects.