[]
DsPdfJS API / MergeDocumentOptions
MergeDocumentOptions =
object
Represents options for controlling the merging of PDF documents.
optionalcopyArticleThreads:boolean
Specifies whether to copy ArticleThreads. The default is true.
optionalcopyAssociatedFiles:boolean
Specifies whether to copy AssociatedFiles. The default is true.
optionalcopyDocumentLevelEmbeddedFiles:boolean
Specifies whether to copy files embedded in the source document. The default is false.
optionalcopyFields:boolean
Specifies whether to copy AcroForm fields. The default is true.
optionalcopyNamedDestinations:boolean
Specifies whether to copy named destinations. The default is false. Note that if the source document contains destinations with same names as in the target document, then those destinations will be skipped.
optionalcopyOptionalContent:boolean
Specifies whether to copy OptionalContent. The default is true.
optionalforceDirectCopy:boolean
Specifies whether to do NOT parse content streams and copy all objects referenced from resource streams. The default is false.
optionalindex:number
The starting position in the destination document at which the pages of the source document will be inserted. -1 (default) means that pages will be added to the end of the document.
optionalmergeStructTree:boolean
Specifies whether to merge structure trees. The default is false.
optionaloutlineMergeMode:OutlineMergeMode
The outline merge mode. The default is None (in this mode, outlines from the source document are ignored).
optionalrange:OutputRange
Specifies the range of pages in the source document that will be merged into the destination document. The default is all pages.