pdfrx_web
    Preparing search index...

    Class PdfPermissions

    Encryption/permission information of a document. Present only for encrypted documents; see PdfDocument.permissions.

    The permission flags follow ISO 32000-1:2008, Table 22. The allows* helpers mirror the pdfrx semantics exactly, including the same bit masks, so a document evaluates identically here and in upstream pdfrx.

    Index
    • Parameters

      • permissions: number

        Raw permission flags from the PDF security handler.

      • securityHandlerRevision: number

        Revision of the standard security handler that produced permissions.

      Returns PdfPermissions

    permissions: number

    Raw permission flags from the PDF security handler.

    securityHandlerRevision: number

    Revision of the standard security handler that produced permissions.

    • get allowsDocumentAssembly(): boolean

      Whether the document allows document assembly (insert/rotate/delete pages).

      Returns boolean

    • get allowsModifyAnnotations(): boolean

      Whether the document allows modifying annotations and form fields.

      Returns boolean