ComPDFKit Web SDK
    Preparing search index...

    Interface DownloadPdfOptions

    Options of UI.downloadPdf.

    interface DownloadPdfOptions {
        filename?: string;
        flags?: INCREMENTAL;
        flatten?: boolean;
        includeAnnotations?: boolean;
        xfdfString?: string;
    }
    Index
    filename?: string

    Name of the downloaded file; '.pdf' is added when missing. Defaults to the document's file name.

    flags?: INCREMENTAL

    Save flags, such as SaveOptions.INCREMENTAL.

    flatten?: boolean

    Burns annotations, including form fields, into page content.

    includeAnnotations?: boolean

    When false, the downloaded file contains no annotations.

    xfdfString?: string

    XFDF whose annotations replace the annotations in the downloaded file.