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

    Type Alias PdfPermissions

    The eight PDF access permissions carried by an /Encrypt dictionary's /P entry (ISO 32000-1 §7.6.3.2, Table 22). Each flag is true when the action is granted to a user opening the document with the user password; the owner password always lifts every restriction.

    type PdfPermissions = {
        print: boolean;
        modify: boolean;
        copy: boolean;
        annotate: boolean;
        fillForms: boolean;
        accessibility: boolean;
        assemble: boolean;
        printHighRes: boolean;
    }
    Index

    Properties

    print: boolean

    Print the document (low resolution unless printHighRes is also set).

    modify: boolean

    Modify the document contents (other than annotating, filling or assembling).

    copy: boolean

    Copy or otherwise extract text and graphics.

    annotate: boolean

    Add or modify annotations and fill in interactive form fields.

    fillForms: boolean

    Fill in existing interactive form fields (even if annotate is clear).

    accessibility: boolean

    Extract text and graphics for accessibility tools.

    assemble: boolean

    Assemble the document: insert, rotate and delete pages.

    printHighRes: boolean

    Print to a high-resolution device (requires print).