Options

From Tracker Software PDF SDK
Jump to: navigation, search


Options Table

Name Type Value
PaperType Integer Specifies the type of paper that would be used for page dimensions.

Possible values are:

0 (Document) The page size would be the same as document's.
1 (Standard) The page size value would be taken from the standard values table.
2 (Custom) The page size would be custom.

Default value: 0 (Document)

Landscape Boolean Specifies pages' orientation.

Default value: false

StdPaperIndex Integer Specifies new page size if Standard flag was used.

The list of possible values are shown in the table.

Default value: 4 (A4)

Width Double Specifies width of the new pages.

Default value: 595.276

Height Double Specifies the height of the new pages.

Default value: 841.89

Count Integer Specifies number of pages that will be inserted.

Default value: 1

Location Integer Determines whether the new pages will be inserted Before or After the target page.

Possible values are:

0 (Before) The pages will be inserted Before the target page.
1 (After) The pages will be inserted After the target page.

Default value: 1 (After)

Position Integer Specifies the position where the pages will be inserted.

Default value: -1

Rotation Integer Specifies the newly added pages' rotation.

Default value: 0