Options
From PDF XChange PDF SDK
(7 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
{{#customTitle:Options}} | {{#customTitle:Options}} | ||
{{#parentPage:PXV:op_document_addImage|Options|property}} | {{#parentPage:PXV:op_document_addImage|Options|property}} | ||
− | |||
{{ToReview}} | {{ToReview}} | ||
Line 25: | Line 24: | ||
| Specifies the horizontal and vertical align flags. | | Specifies the horizontal and vertical align flags. | ||
Vertical: | Vertical: | ||
− | Top - 0, Center - | + | Top - 0, Center - 4, Bottom - 8 |
+ | |||
Horizontal: | Horizontal: | ||
− | Left - 0, Middle - | + | Left - 0, Middle - 1, Right - 2 |
+ | |||
Default value: <tt>'''0'''</tt> | Default value: <tt>'''0'''</tt> | ||
|- | |- | ||
| class="op_param_name" | AutoRotate | | class="op_param_name" | AutoRotate | ||
| style="text-align:center" | Boolean | | style="text-align:center" | Boolean | ||
− | | Specifies | + | | Specifies whether to neutralize the page_rotation + view_rotation automatically. |
Default value: <tt>'''true'''</tt> | Default value: <tt>'''true'''</tt> | ||
|- | |- | ||
| class="op_param_name" | AdvRotate | | class="op_param_name" | AdvRotate | ||
| style="text-align:center" | Double | | style="text-align:center" | Double | ||
− | | Specifies | + | | Specifies advanced CCW rotation. |
Default value: <tt>'''0.0'''</tt> | Default value: <tt>'''0.0'''</tt> | ||
|- | |- | ||
| class="op_param_name" | AsStamp | | class="op_param_name" | AsStamp | ||
| style="text-align:center" | Boolean | | style="text-align:center" | Boolean | ||
− | | Specifies | + | | Specifies whether the inserted image should be inserted as stamp or as a part of the page content. |
Default value: <tt>'''true'''</tt> | Default value: <tt>'''true'''</tt> | ||
|- | |- | ||
| class="op_param_name" | Src | | class="op_param_name" | Src | ||
| style="text-align:center" | IUnknown | | style="text-align:center" | IUnknown | ||
− | | Specifies | + | | Specifies the source data ([[PXV:IString|IString]], [[PXV:IAFS_Name|IAFS_Name]], [[PXV:IAFS_File|IAFS_File]], IStream, [[PXV:IIXC_Image|IIXC_Image]] ). |
|- | |- | ||
| class="op_param_name" | SrcFrameIndex | | class="op_param_name" | SrcFrameIndex | ||
| style="text-align:center" | Integer | | style="text-align:center" | Integer | ||
− | | Specifies | + | | Specifies the image's page number. |
Default value: <tt>'''0'''</tt> | Default value: <tt>'''0'''</tt> | ||
|} | |} |
Latest revision as of 06:54, 26 October 2016
Options Table
Name | Type | Value |
---|---|---|
Page | Integer | Specifies the page where the image would be placed onto.
Default value: 0 |
Pos | Dictionary | Specifies the boundary rectangle of the placed image. |
AlignMode | Integer | Specifies the horizontal and vertical align flags.
Vertical: Top - 0, Center - 4, Bottom - 8 Horizontal: Left - 0, Middle - 1, Right - 2 Default value: 0 |
AutoRotate | Boolean | Specifies whether to neutralize the page_rotation + view_rotation automatically.
Default value: true |
AdvRotate | Double | Specifies advanced CCW rotation.
Default value: 0.0 |
AsStamp | Boolean | Specifies whether the inserted image should be inserted as stamp or as a part of the page content.
Default value: true |
Src | IUnknown | Specifies the source data (IString, IAFS_Name, IAFS_File, IStream, IIXC_Image ). |
SrcFrameIndex | Integer | Specifies the image's page number.
Default value: 0 |