DsPdfJS API - v9.1.0
    Preparing search index...

    Type Alias MergeDocumentOptions

    Represents options for controlling the merging of PDF documents.

    type MergeDocumentOptions = {
        copyArticleThreads?: boolean;
        copyAssociatedFiles?: boolean;
        copyDocumentLevelEmbeddedFiles?: boolean;
        copyFields?: boolean;
        copyNamedDestinations?: boolean;
        copyOptionalContent?: boolean;
        forceDirectCopy?: boolean;
        index?: number;
        mergeStructTree?: boolean;
        outlineMergeMode?: OutlineMergeMode;
        range?: OutputRange;
    }
    Index

    Properties

    copyArticleThreads?: boolean

    Specifies whether to copy ArticleThreads. The default is true.

    copyAssociatedFiles?: boolean

    Specifies whether to copy AssociatedFiles. The default is true.

    copyDocumentLevelEmbeddedFiles?: boolean

    Specifies whether to copy files embedded in the source document. The default is false.

    copyFields?: boolean

    Specifies whether to copy AcroForm fields. The default is true.

    copyNamedDestinations?: 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.

    copyOptionalContent?: boolean

    Specifies whether to copy OptionalContent. The default is true.

    forceDirectCopy?: boolean

    Specifies whether to do NOT parse content streams and copy all objects referenced from resource streams. The default is false.

    index?: 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.

    mergeStructTree?: boolean

    Specifies whether to merge structure trees. The default is false.

    outlineMergeMode?: OutlineMergeMode

    The outline merge mode. The default is None (in this mode, outlines from the source document are ignored).

    range?: OutputRange

    Specifies the range of pages in the source document that will be merged into the destination document. The default is all pages.