Options
From PDF XChange PDF SDK
(Automatic page editing by robot) |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
{{#customTitle:Options}} | {{#customTitle:Options}} | ||
{{#parentPage:PXV:op_document_insertEmptyPages|Options|property}} | {{#parentPage:PXV:op_document_insertEmptyPages|Options|property}} | ||
− | + | ||
{{ToReview}} | {{ToReview}} | ||
Line 14: | Line 14: | ||
| class="op_param_name" | PaperType | | class="op_param_name" | PaperType | ||
| style="text-align:center" | Integer | | style="text-align:center" | Integer | ||
− | | Specifies | + | | Specifies the type of paper that would be used for page dimensions. |
Possible values are: | Possible values are: | ||
{| class="op_internal_table" | {| class="op_internal_table" | ||
|- | |- | ||
− | | class="op_enum_value" | '''0''' (Document) || | + | | class="op_enum_value" | '''0''' (Document) || The page size would be the same as document's. |
− | + | ||
− | + | ||
|- | |- | ||
− | | class="op_enum_value" | ''' | + | | class="op_enum_value" | '''1''' (Standard) || The page size value would be taken from the standard values table. |
|- | |- | ||
− | | class="op_enum_value" | ''' | + | | class="op_enum_value" | '''2''' (Custom) || The page size would be custom. |
|} | |} | ||
Default value: <tt>'''0''' (Document)</tt> | Default value: <tt>'''0''' (Document)</tt> | ||
Line 30: | Line 28: | ||
| class="op_param_name" | Landscape | | class="op_param_name" | Landscape | ||
| style="text-align:center" | Boolean | | style="text-align:center" | Boolean | ||
− | | Specifies | + | | Specifies pages' orientation. |
Default value: <tt>'''false'''</tt> | Default value: <tt>'''false'''</tt> | ||
|- | |- | ||
| class="op_param_name" | StdPaperIndex | | class="op_param_name" | StdPaperIndex | ||
| style="text-align:center" | Integer | | style="text-align:center" | Integer | ||
− | | Specifies | + | | Specifies new page size if Standard flag was used. |
The list of possible values are shown in [[PXV:Params_NamedValues_StandardPapers|the table]]. | The list of possible values are shown in [[PXV:Params_NamedValues_StandardPapers|the table]]. | ||
Line 42: | Line 40: | ||
| class="op_param_name" | Width | | class="op_param_name" | Width | ||
| style="text-align:center" | Double | | style="text-align:center" | Double | ||
− | | Specifies | + | | Specifies width of the new pages. |
Default value: <tt>'''595.276'''</tt> | Default value: <tt>'''595.276'''</tt> | ||
|- | |- | ||
| class="op_param_name" | Height | | class="op_param_name" | Height | ||
| style="text-align:center" | Double | | style="text-align:center" | Double | ||
− | | Specifies | + | | Specifies the height of the new pages. |
Default value: <tt>'''841.89'''</tt> | Default value: <tt>'''841.89'''</tt> | ||
|- | |- | ||
| class="op_param_name" | Count | | class="op_param_name" | Count | ||
| style="text-align:center" | Integer | | style="text-align:center" | Integer | ||
− | | Specifies | + | | Specifies number of pages that will be inserted. |
Default value: <tt>'''1'''</tt> | Default value: <tt>'''1'''</tt> | ||
|- | |- | ||
| class="op_param_name" | Location | | class="op_param_name" | Location | ||
| style="text-align:center" | Integer | | style="text-align:center" | Integer | ||
− | | | + | | Determines whether the new pages will be inserted Before or After the target page. |
Possible values are: | Possible values are: | ||
{| class="op_internal_table" | {| class="op_internal_table" | ||
|- | |- | ||
− | | class="op_enum_value" | '''0''' (Before) || | + | | class="op_enum_value" | '''0''' (Before) || The pages will be inserted Before the target page. |
|- | |- | ||
− | | class="op_enum_value" | '''1''' (After) || | + | | class="op_enum_value" | '''1''' (After) || The pages will be inserted After the target page. |
|} | |} | ||
Default value: <tt>'''1''' (After)</tt> | Default value: <tt>'''1''' (After)</tt> | ||
Line 69: | Line 67: | ||
| class="op_param_name" | Position | | class="op_param_name" | Position | ||
| style="text-align:center" | Integer | | style="text-align:center" | Integer | ||
− | | Specifies | + | | Specifies the position where the pages will be inserted. |
Default value: <tt>'''-1'''</tt> | Default value: <tt>'''-1'''</tt> | ||
|- | |- | ||
| class="op_param_name" | Rotation | | class="op_param_name" | Rotation | ||
| style="text-align:center" | Integer | | style="text-align:center" | Integer | ||
− | | Specifies | + | | Specifies the newly added pages' rotation. |
Default value: <tt>'''0'''</tt> | Default value: <tt>'''0'''</tt> | ||
|} | |} |
Latest revision as of 23:35, 18 May 2018
Options Table
Name | Type | Value | ||||||
---|---|---|---|---|---|---|---|---|
PaperType | Integer | Specifies the type of paper that would be used for page dimensions.
Possible values are:
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:
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 |