Options
From PDF XChange PDF SDK
(13 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:Options}} | {{#customTitle:Options}} | ||
− | {{#parentPage:PXV:op_newBlankDoc | + | {{#parentPage:PXV:op_newBlankDoc|Options|property}} |
− | + | ||
{{ToReview}} | {{ToReview}} | ||
Line 17: | Line 16: | ||
{| class="op_internal_table" | {| class="op_internal_table" | ||
|- | |- | ||
− | | class="op_enum_value" | ''' | + | | class="op_enum_value" | '''1''' (Standard) || The standard page size specified by <code>StdPaperIndex</code> parameter will be used. |
|- | |- | ||
− | + | | class="op_enum_value" | '''2''' (Custom) || Page size specified by <code>Width</code>, and <code>Height</code> parameters will be used. | |
− | + | ||
− | | class="op_enum_value" | '''2''' (Custom) || | + | |
|} | |} | ||
Default value: <tt>'''1''' (Standard)</tt> | Default value: <tt>'''1''' (Standard)</tt> | ||
Line 27: | Line 24: | ||
| class="op_param_name" | Landscape | | class="op_param_name" | Landscape | ||
| style="text-align:center" | Boolean | | style="text-align:center" | Boolean | ||
− | | Specifies orientation | + | | Specifies pages' orientation. |
Default value: <tt>'''false'''</tt> | Default value: <tt>'''false'''</tt> | ||
Line 33: | Line 30: | ||
| class="op_param_name" | StdPaperIndex | | class="op_param_name" | StdPaperIndex | ||
| style="text-align:center" | Integer | | style="text-align:center" | Integer | ||
− | | Specifies one of standard predefined page size. The list of possible values are shown in [[PXV: | + | | Specifies one of standard predefined page size. The list of possible values are shown in [[PXV:Params_NamedValues_StandardPapers|the table]]. |
|- | |- | ||
| class="op_param_name" | Width | | class="op_param_name" | Width | ||
Line 49: | Line 46: | ||
| class="op_param_name" | Count | | class="op_param_name" | Count | ||
| style="text-align:center" | Integer | | style="text-align:center" | Integer | ||
− | | Specifies a number of new pages | + | | Specifies a number of new pages that will be created. |
Default value: '''1'''. | Default value: '''1'''. | ||
Line 58: | Line 55: | ||
Default value: '''0'''. | Default value: '''0'''. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} |
Latest revision as of 23:36, 18 May 2018
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 pages' orientation.
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 that will 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. |