Enum PdfPermissionFlags
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
Specifies user access permissions for an encrypted document.
[Flags]
public enum PdfPermissionFlags
Fields
AssembleDocument = 1024
Assemble the document (insert, rotate, or delete pages and create bookmarks or thumbnail images).
CopyContents = 16
Copy or otherwise extract text and graphics from the document.
Everything = PrintDocument | ModifyContents | CopyContents | ModifyAnnotations | FillFormFields | ExtractContents | AssembleDocument | PrintFaithfulCopy
Permit everything.
ExtractContents = 512
Extract text and graphics (in support of accessibility to users with disabilities or for other purposes).
FillFormFields = 256
Fill in existing interactive form fields (including signature fields).
ModifyAnnotations = 32
Add or modify text annotations, fill in interactive form fields.
ModifyContents = 8
Modify the contents of the document.
None = 0
Permit only viewing.
PrintDocument = 4
Print the document.
PrintFaithfulCopy = 2048
Print the document to a representation from which a faithful digital copy of the PDF content could be generated.
Remarks
The Encrypt PDF documents in C# and VB.NET article describes how to encrypt PDF documents.
Check out the other articles and code samples on the Passwords page.