Options

From PDF XChange PDF SDK
Jump to: navigation, search
(Automatic page editing by robot)
 
(Options Table)
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" | '''1''' (Standard) || ...
+
| class="op_enum_value" | '''1''' (Standard) || The page size value would be taken from the standard values table.
 
|-
 
|-
| class="op_enum_value" | '''2''' (Custom) || ...
+
| class="op_enum_value" | '''2''' (Custom) || The page size would be custom.
 
|-
 
|-
| class="op_enum_value" | '''3''' (BySource) || ...
+
| class="op_enum_value" | '''3''' (BySource) || The page size would be taken from the source file.
 
|}
 
|}
 
Default value: <tt>'''0''' (Document)</tt>
 
Default value: <tt>'''0''' (Document)</tt>
Line 30: Line 30:
 
| 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 42:
 
| 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
| Specifies...
+
| 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 69:
 
| 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>
 
|}
 
|}

Revision as of 01:16, 15 March 2016


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.
3 (BySource) The page size would be taken from the source file.

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