Enum UserAccess
Represents the user access permissions for an encrypted PDF document as defined in ISO 32000-2 (PDF 2.0) Table 22. Permissions are stored as flags in a 32-bit integer, whose bit positions are numbered from 1, the low-order bit.
[Flags]
public enum UserAccess
Fields
ASSEMBLE_DOCUMENT = 1024Permission to assemble the document: insert, rotate, or delete pages and create bookmarks or thumbnail images. (Bit position: 11)
COPY_CONTENTS = 16Permission to copy or otherwise extract text and graphics from the document, including for accessibility purposes. (Bit position: 5)
EXTRACT_CONTENTS_FOR_ACCESSIBILITY = 512Permission to extract text and graphics (in support of accessibility to users with disabilities or for other purposes). (Bit position: 10)
FILL_FORM_FIELDS = 256Permission to fill existing interactive form fields (including signature fields), even if MODIFY_CONTENTS is not set. (Bit position: 9)
MODIFY_ANNOTATIONS = 32Permission to add, modify, or delete text annotations and interactive form fields. Note: This permission is not used in PDF 2.0 but is retained for legacy support. (Bit position: 6)
MODIFY_CONTENTS = 8Permission to modify the contents of the document by operations other than those controlled by MODIFY_ANNOTATIONS, FILL_FORM_FIELDS, and ASSEMBLE_DOCUMENT. (Bit position: 4)
NONE = 0No permissions are granted. This is the default state.
PRINT = 4Permission to print the document (possibly not at the highest quality level, depending on whether PRINT_HIGH_QUALITY is also set). (Bit position: 3)
PRINT_HIGH_QUALITY = 2048Permission to print the document to a representation from which a faithful digital copy of the PDF content could be generated. When this bit is clear (and PRINT is set), printing is limited to a low-level representation of the appearance, possibly of degraded quality. (Bit position: 12)