Options

From PDF XChange PDF SDK
Jump to: navigation, search
(Options Table)
 
Line 76: Line 76:
 
| class="op_param_name" | ConstraintProportions
 
| class="op_param_name" | ConstraintProportions
 
| style="text-align:center" | Boolean
 
| style="text-align:center" | Boolean
| Specifies whether the content should constraint proportion when the page dimensions change. The ScalePage flag should be specified for this flag to work.
+
| Specifies whether the content should constraint proportion when the page dimensions change. The '''ScalePage''' flag should be specified for this flag to work.
Default value: <tt>'''false'''</tt>
+
Default value: <tt>'''true'''</tt>
 +
|-
 +
| class="op_param_name" | ScaleAnnotations
 +
| style="text-align:center" | Boolean
 +
| Specifies whether the annotations should be scaled when the page dimensions change. The '''ScalePage''' flag should be specified for this flag to work.
 +
Default value: <tt>'''true'''</tt>
 +
|-
 +
| class="op_param_name" | ScaleText
 +
| style="text-align:center" | Boolean
 +
| Specifies whether the content should constraint proportion when the page dimensions change. The '''ScalePage''' and '''ScaleAnnotations''' flag should be specified for this flag to work.
 +
Default value: <tt>'''true'''</tt>
 
|-
 
|-
 
| class="op_param_name" | [[PXV:cs_PagesRange|PagesRange]]
 
| class="op_param_name" | [[PXV:cs_PagesRange|PagesRange]]

Latest revision as of 01:21, 8 November 2018


Options Table

Name Type Value
PaperType Integer Specifies the type of paper that would be used for page dimensions.

Possible values are:

1 (Standard) The page size value would be taken from the standard values table.
2 (Custom) The page size would be custom.

Default value: 1 (Standard)

StdPaperIndex Integer Specifies the index in the standard papers table.

The list of possible values are shown in the table.

Default value: 4 (A4)

Width Double Specifies the custom width of the page.

Default value: 595.276

Height Double Specifies the custom height of the page.

Default value: 841.89

Landscape Boolean Specifies whether the page should have portrait or landscape orientation.

Default value: false

HOffset Double Specifies the horizontal offset of the pages media box.

Default value: 0.0

VOffset Double Specifies the vertical offset of the pages media box.

Default value: 0.0

VOffsetFrom Integer Specifies where from the vertical offset would be taken.

The list of possible values are shown in the table.

Default value: 1 (Center)

HOffsetFrom Integer Specifies where from the horizontal offset would be taken.

The list of possible values are shown in the table.

Default value: 1 (Center)

ScalePage Boolean Specifies whether the content should be scaled with pages. If this flag is specified, then all of the offsets are ignored.

Default value: false

ConstraintProportions Boolean Specifies whether the content should constraint proportion when the page dimensions change. The ScalePage flag should be specified for this flag to work.

Default value: true

ScaleAnnotations Boolean Specifies whether the annotations should be scaled when the page dimensions change. The ScalePage flag should be specified for this flag to work.

Default value: true

ScaleText Boolean Specifies whether the content should constraint proportion when the page dimensions change. The ScalePage and ScaleAnnotations flag should be specified for this flag to work.

Default value: true

PagesRange Dictionary Specifies the pages range which the page resizing should be applied to.