Options
From PDF XChange PDF SDK
Line 7: | Line 7: | ||
== Options Table == | == Options Table == | ||
− | {| class="wikitable op_options" | + | {| class="wikitable sortable op_options" |
! style="width:120pt;" | '''Name''' | ! style="width:120pt;" | '''Name''' | ||
! style="width:60pt;" | '''Type''' | ! style="width:60pt;" | '''Type''' |
Revision as of 12:20, 13 May 2015
Options Table
Name | Type | Value | ||||||
---|---|---|---|---|---|---|---|---|
PaperType | Integer | Specifies type of paper size that should be used for newly added pages. Possible values are:
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 height 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 | Specifies a number of new pages to be created.
Default value: 1. | ||||||
Rotation | Integer | Specifies rotation of newly added pages. The value must be an integer multiply of 90.
Default value: 0. | ||||||
Adv1 | Dictionary | Приклад, як повинен представлятись dictionary в параметрах. Елементи dictionary описуються в додатковій таблиці нижче. Сам параметр є лінком на цю таблицю. У випадку якщо маємо масив dictionary, то цей dictionary описується так само в окремій таблиці |
Adv1 Table
Name | Type | Value |
---|---|---|
PaperType | Integer | Array of IUnknown-based objects. |