Options
From PDF XChange PDF SDK
(Automatic page editing by robot) |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
{{#customTitle:Options}} | {{#customTitle:Options}} | ||
{{#parentPage:PXV:op_annots_move|Options|property}} | {{#parentPage:PXV:op_annots_move|Options|property}} | ||
− | |||
{{ToReview}} | {{ToReview}} | ||
Line 14: | Line 13: | ||
| class="op_param_name" | NewDoc | | class="op_param_name" | NewDoc | ||
| style="text-align:center" | IUnknown | | style="text-align:center" | IUnknown | ||
− | | Specifies. | + | | Specifies a destination document ([[PXV:IPXC_Document|IPXC_Document]]) for moving annotations. |
+ | If NewDoc == NULL or NewDoc is current document - to stay in the same document | ||
|- | |- | ||
| class="op_param_name" | NewPageIndex | | class="op_param_name" | NewPageIndex | ||
| style="text-align:center" | Integer | | style="text-align:center" | Integer | ||
− | | Specifies.. | + | | Specifies index of destination page for moving annotations. |
+ | If NewPageIndex < 0 or NewPageIndex is index of current page - to stay on the same page. | ||
+ | |||
Default value: <tt>'''-1'''</tt> | Default value: <tt>'''-1'''</tt> | ||
|- | |- | ||
| class="op_param_name" | NewIndexOnPage | | class="op_param_name" | NewIndexOnPage | ||
| style="text-align:center" | Integer | | style="text-align:center" | Integer | ||
− | | Specifies.. | + | | Specifies index which used for inserting annotations into destination page. This index take effect for tab-ordering and for overlay annotations. |
+ | |||
+ | (NewIndexOnPage == -2) && (<NewPage> == <CurPage>) - to keep existing z-order | ||
+ | |||
+ | (NewIndexOnPage < 0) && (<NewPage> != <CurPage>) - place to end of annots list on <NewPage> | ||
+ | |||
+ | (NewIndexOnPage == -1) && (<NewPage> == <CurPage>) - place to end of annots list on <CurPage> | ||
+ | |||
Default value: <tt>'''-2'''</tt> | Default value: <tt>'''-2'''</tt> | ||
|- | |- | ||
| class="op_param_name" | PageRotationDelta | | class="op_param_name" | PageRotationDelta | ||
| style="text-align:center" | Integer | | style="text-align:center" | Integer | ||
− | | Specifies... | + | | Specifies an angle for compensation differential between source pages rotation and destination pages rotation. Page rotation combine own page rotation + rotation set by user (viewRotation). |
+ | |||
+ | Must be multiple by 90. | ||
+ | |||
+ | Can be negative. | ||
+ | |||
Default value: <tt>'''0'''</tt> | Default value: <tt>'''0'''</tt> | ||
|- | |- | ||
| class="op_param_name" | Copy | | class="op_param_name" | Copy | ||
| style="text-align:center" | Boolean | | style="text-align:center" | Boolean | ||
− | | | + | | If this value is <tt>true</tt> then annotations will be copied, original annotations will not be deleted. |
Default value: <tt>'''false'''</tt> | Default value: <tt>'''false'''</tt> | ||
|- | |- | ||
| class="op_param_name" | DX | | class="op_param_name" | DX | ||
| style="text-align:center" | Double | | style="text-align:center" | Double | ||
− | | Specifies | + | | Specifies offset by X axis for a new annotation. |
Default value: <tt>'''0.0'''</tt> | Default value: <tt>'''0.0'''</tt> | ||
|- | |- | ||
| class="op_param_name" | DY | | class="op_param_name" | DY | ||
| style="text-align:center" | Double | | style="text-align:center" | Double | ||
− | | Specifies | + | | Specifies offset by Y axis for a new annotation. |
Default value: <tt>'''0.0'''</tt> | Default value: <tt>'''0.0'''</tt> | ||
|} | |} |
Latest revision as of 04:55, 8 June 2015
Options Table
Name | Type | Value |
---|---|---|
NewDoc | IUnknown | Specifies a destination document (IPXC_Document) for moving annotations.
If NewDoc == NULL or NewDoc is current document - to stay in the same document |
NewPageIndex | Integer | Specifies index of destination page for moving annotations.
If NewPageIndex < 0 or NewPageIndex is index of current page - to stay on the same page. Default value: -1 |
NewIndexOnPage | Integer | Specifies index which used for inserting annotations into destination page. This index take effect for tab-ordering and for overlay annotations.
(NewIndexOnPage == -2) && (<NewPage> == <CurPage>) - to keep existing z-order (NewIndexOnPage < 0) && (<NewPage> != <CurPage>) - place to end of annots list on <NewPage> (NewIndexOnPage == -1) && (<NewPage> == <CurPage>) - place to end of annots list on <CurPage> Default value: -2 |
PageRotationDelta | Integer | Specifies an angle for compensation differential between source pages rotation and destination pages rotation. Page rotation combine own page rotation + rotation set by user (viewRotation).
Must be multiple by 90. Can be negative. Default value: 0 |
Copy | Boolean | If this value is true then annotations will be copied, original annotations will not be deleted.
Default value: false |
DX | Double | Specifies offset by X axis for a new annotation.
Default value: 0.0 |
DY | Double | Specifies offset by Y axis for a new annotation.
Default value: 0.0 |