ComPDFKit Web SDK
    Preparing search index...

    Interface GetFileDataOptions

    Options for getFileData. Options run on a copy, leaving the open document unchanged.

    interface GetFileDataOptions {
        downloadType?: "pdf";
        flags?: INCREMENTAL;
        flatten?: boolean;
        includeAnnotations?: boolean;
        optimize?: OptimizeOptions;
        xfdfString?: string;
    }
    Index
    downloadType?: "pdf"

    Output format; only 'pdf' is supported.

    flags?: INCREMENTAL

    Save flags, such as SaveOptions.INCREMENTAL.

    flatten?: boolean

    Burns annotations, including form fields, into page content.

    includeAnnotations?: boolean

    When false, the saved file contains no annotations.

    optimize?: OptimizeOptions

    Takes the optimized saving path

    xfdfString?: string

    XFDF whose annotations replace the annotations in the saved file.