Options

From PDF XChange PDF SDK
Jump to: navigation, search
Line 15: Line 15:
 
| style="text-align:center" | Integer
 
| style="text-align:center" | Integer
 
| Specifies type of paper size that should be used for newly added pages. Possible values are:
 
| Specifies type of paper size that should be used for newly added pages. Possible values are:
{| class="wikitable op_internal_table" style="width:95%;margin:auto;"
+
{| class="op_internal_table" style="margin-left:10pt;margin-right:10pt;"
 
|-
 
|-
| style="width:60pt;" | <tt>'''0'''&nbsp;(Document)</tt> || use size of first page of the document;
+
| style="width:120pt;" | <tt>'''0''' (Document)</tt>
 +
| use size of first page of the document;
 
|-
 
|-
| <tt>'''1'''&nbsp;(Standard)</tt> || use standard page size specified by <code>StdPaperIndex</code> parameter;
 
 
|-
 
|-
| <tt>'''2'''&nbsp;(Custom)</tt> || use page size specified by <code>Width</code>, and <code>Height</code> parameters.
+
| <tt>'''1''' (Standard)</tt> || use standard page size specified by <code>StdPaperIndex</code> parameter;
 +
|-
 +
| <tt>'''2''' (Custom)</tt> || use page size specified by <code>Width</code>, and <code>Height</code> parameters.
 
|}
 
|}
 
Default value: <tt>'''1''' (Standard)</tt>
 
Default value: <tt>'''1''' (Standard)</tt>

Revision as of 14:14, 12 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:
0 (Document) use size of first page of the document;
1 (Standard) use standard page size specified by StdPaperIndex parameter;
2 (Custom) use page size specified by Width, and Height parameters.

Default value: 1 (Standard)

Landscape Boolean
StdPaperIndex Integer
Width Double
Height Double
Count Integer
Rotation Integer
Adv1 Dictionary
Adv2 Dictionary

Adv1 Table

Name Type Value
PaperType Integer Array of IUnknown-based objects.

Adv2 Table

Name Type Value
PaperType Integer Array of IUnknown-based objects.