Enum PdfPermissions

Enum PdfPermissions

Namespace: Aspose.Words.Saving
Assembly: Aspose.Words.dll (25.3.0)

Specifies the operations that are allowed to a user on an encrypted PDF document.

[Flags]
public enum PdfPermissions

Fields

AllowAll = 65535

Allows all operations on the PDF document.

ContentCopy = 16

Copy or otherwise extract text and graphics from the document by operations other than that controlled by Aspose.Words.Saving.PdfPermissions.ContentCopyForAccessibility.

ContentCopyForAccessibility = 512

Extract text and graphics (in support of accessibility to users with disabilities or for other purposes).

DisallowAll = 0

Disallows all operations on the PDF document. This is the default value.

DocumentAssembly = 1024

Assemble the document (insert, rotate, or delete pages and create document outline items or thumbnail images), even if Aspose.Words.Saving.PdfPermissions.ModifyContents is clear.

FillIn = 256

Fill in existing interactive form fields (including signature fields), even if Aspose.Words.Saving.PdfPermissions.ModifyContents is clear.

HighResolutionPrinting = 2052

Print the document to a representation from which a faithful digital copy of the PDF content could be generated, based on an implementation-dependent algorithm. When this flag is clear (and Aspose.Words.Saving.PdfPermissions.Printing is set), printing shall be limited to a low-level representation of the appearance, possibly of degraded quality.

ModifyAnnotations = 32

Add or modify text annotations, fill in interactive form fields, and, if Aspose.Words.Saving.PdfPermissions.ModifyContents is also set, create or modify interactive form fields (including signature fields).

ModifyContents = 8

Modify the contents of the document by operations other than those controlled by Aspose.Words.Saving.PdfPermissions.ModifyAnnotations, Aspose.Words.Saving.PdfPermissions.FillIn, and Aspose.Words.Saving.PdfPermissions.DocumentAssembly.

Printing = 4

Print the document (possibly not at the highest quality level, depending on whether Aspose.Words.Saving.PdfPermissions.HighResolutionPrinting is also set).