@qrcommunication/gigapdf-lib — SDK API reference - v0.110.3
    Preparing search index...

    Interface Attachment

    One embedded file attachment read back by GigaPdfDoc.attachments. data is the decoded file bytes; mime/description/dates are null when the PDF didn't record them.

    interface Attachment {
        name: string;
        filename: string;
        mime: string | null;
        description: string | null;
        creationDate: string | null;
        modDate: string | null;
        data: Uint8Array;
    }
    Index

    Properties

    name: string

    The /EmbeddedFiles name-tree key the file was registered under.

    filename: string

    The filespec display filename (/UF preferred, else /F).

    mime: string | null

    The embedded stream's /Subtype MIME (e.g. application/pdf), or null.

    description: string | null

    The filespec /Desc human description, or null.

    creationDate: string | null

    The /Params /CreationDate PDF date string, or null.

    modDate: string | null

    The /Params /ModDate PDF date string, or null.

    data: Uint8Array

    The decoded (filters applied) file bytes.