PdfPermissions Enum
The operations the user password of an encrypted document allows (ISO 32000-2, 7.6.4.2, table 22). The owner password allows all of them. The library does not enforce them: the applications that open a document with the user password must.
[Flags]
public enum PdfPermissionsFields
| Name | Value | Description |
|---|---|---|
None | 0 | No operation. |
Print | 4 | Print the document (bit 3), in a degraded quality without PdfPermissions.PrintHighQuality. |
Modify | 8 | Modify the document in ways other than PdfPermissions.Annotate, PdfPermissions.FillForms and PdfPermissions.Assemble (bit 4). |
CopyContent | 16 | Copy or extract the text and the graphics (bit 5). |
Annotate | 32 | Add or modify the annotations, and fill the form fields (bit 6). |
FillForms | 256 | Fill the form fields, even without PdfPermissions.Annotate (bit 9). |
ExtractForAccessibility | 512 | Extract the text and the graphics for accessibility (bit 10). PDF 2.0 deprecates it: readers ignore it. |
Assemble | 1024 | Assemble the document: insert, rotate and delete pages, create bookmarks and thumbnails (bit 11). |
PrintHighQuality | 2048 | Print the document in a faithful quality (bit 12). |
All | 3900 | All the operations. |