PdfPermissions Enumeration |
Specifies the operations that are allowed to a user on an encrypted PDF document.
Namespace: SautinSoft.DocumentAssembly: SautinSoft.Document (in SautinSoft.Document.dll) Version: 2024.11.20
Syntax [FlagsAttribute]
public enum PdfPermissions
<FlagsAttribute>
Public Enumeration PdfPermissions
Members Member name | Value | Description |
---|
DisallowAll | 0 |
Disallows all operations on the PDF document. This is the default value.
|
Printing | 4 |
Allows printing the document.
|
ModifyContents | 8 |
Allows modifying the document’s contents.
|
ContentCopy | 16 |
Allows copying or otherwise extracting text and graphics from the document,
including extraction for accessibility purposes.
|
ModifyAnnotations | 32 |
Allows adding or modifying text annotations. When using RC4 40-bit encryption,
this option also allows filling in form fields.
|
FillIn | 256 |
Allows filling in forms and signing the document. When using RC4 40-bit encryption,
this option is ignored and filling in form is allowed whenever ModifyAnnotations is set.
|
ContentCopyForAccessibility | 512 |
Allows extract text and graphics in support of accessibility to disabled users
or for other purposes. When using RC4 40-bit encryption, this option is ignored
and accessibility is allowed whenever ContentCopy is set.
|
DocumentAssembly | 1,024 |
Allows assembling the document: inserting, rotating, or deleting pages and creating
navigation elements such as bookmarks or thumbnail images. When using RC4 40-bit encryption,
this option is ignored and document assembly is allowed when ModifyContents is set.
|
HighResolutionPrinting | 2,052 |
Allows printing the document to the highest resolution possible.
When using RC4 40-bit encryption, this option is ignored and high resolution
printing is allowed when Printing is set.
|
AllowAll | 65,535 |
Allows all operations on the PDF document.
|
See Also