Options

From PDF XChange PDF SDK
Revision as of 03:35, 1 March 2016 by Palamar (Talk | contribs)

Jump to: navigation, search


Options Table

Name Type Value
PagesRange Dictionary Specifies the pages range that will be inserted from the document into the destination.
Position Integer Specifies the pages start index to which the replace should be applied to.

Default value: -1

CommentsAction Integer Specifies what should be done to the annotations on pages.

Possible values are:

0 (Copy) The annotations will be copied from the original pages into source destination.
1 (Flatten) The annotations will become a part of the original pages' content.
2 (DontCopy) The annotations won't be copied to the destination.

Default value: 0 (Copy)

FieldsAction Integer Specifies what should be done to the fields on pages.

Possible values are:

0 (Copy) The form fields will be copied from the original pages into source destination..
1 (Flatten) The form fields will become a part of the original pages' content.
2 (DontCopy) The form fields won't be copied to the destination.

Default value: 1 (Flatten)

BookmarksAction Integer Specifies the action that would be applied to the bookmarks.

Possible values are:

0 (DontCopy) The bookmarks won't be copied at all.
1 (CopyAll) All of the bookmarks will be added to the destination. Bookmarks, that are not related to the current root bookmark, in a new file will not perform any action, - they will be only listed in the Bookmark Pane.
2 (CopyRelated) Only the related bookmarks will be copied to the destination document.

Default value: 1 (CopyAll)

LastSrcMode Integer Specifies the last selected source mode on dialog.

Possible values are:

0 (FromFile) The data will be taken from the LastSrcFile param.
1 (FromOpenedDoc) The data will be taken from the LastSrcDoc param.

Default value: 1 (FromOpenedDoc)

LastSrcFile String Specifies the path to the file.

Default value: Empty String

LastSrcDoc String Specifies the path to the document.

Default value: Empty String

PositionStop Integer Specifies the pages stop index to which the replace should be applied to.

Default value: -1

ContentOnly Boolean Specifies that only content (text and images which are the part of content) of selected pages from an active document will be replaced with content of new pages.

Default value: true

Src IUnknown Specifies the source data (IAFS_Name, IAFS_File).