PdfAccessPermissions

Inheritance: java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum

public final class PdfAccessPermissions extends System.Enum

Contains a set of flags specifying which access permissions should be granted when the document is opened with user access.

Fields

FieldDescription
NoneSpecifies that a user does not have access permissions.
PrintDocumentSpecifies whether a user may print the document (possibly not at the highest quality level, depending on whether bit HighQualityPrint is also set).
ModifyContentSpecifies whether a user may modify the contents of the document by operations other than those controlled by bits AddOrModifyFields, FillExistingFields, AssembleDocument.
CopyTextAndGraphicsSpecifies whether a user may copy or otherwise extract text and graphics from the document by operations other than that controlled by bit ExtractTextAndGraphics.
AddOrModifyFieldsSpecifies whether a user may add or modify text annotations, fill in interactive form fields, and, if bit ModifyContent is also set, create or modify interactive form fields (including signature fields).
FillExistingFieldsSpecifies whether a user may fill in existing interactive form fields (including signature fields), even if bit AddOrModifyFields is clear.
ExtractTextAndGraphicsSpecifies whether a user may extract text and graphics in support of accessibility to users with disabilities or for other purposes.
AssembleDocumentSpecifies whether a user may assemble the document (insert, rotate, or delete pages and create bookmarks or thumbnail images), even if bit ModifyContent is clear.
HighQualityPrintSpecifies whether a user may print the document to a representation from which a faithful digital copy of the PDF content could be generated.

None

public static final int None

Specifies that a user does not have access permissions.

PrintDocument

public static final int PrintDocument

Specifies whether a user may print the document (possibly not at the highest quality level, depending on whether bit HighQualityPrint is also set).

ModifyContent

public static final int ModifyContent

Specifies whether a user may modify the contents of the document by operations other than those controlled by bits AddOrModifyFields, FillExistingFields, AssembleDocument.

CopyTextAndGraphics

public static final int CopyTextAndGraphics

Specifies whether a user may copy or otherwise extract text and graphics from the document by operations other than that controlled by bit ExtractTextAndGraphics.

AddOrModifyFields

public static final int AddOrModifyFields

Specifies whether a user may add or modify text annotations, fill in interactive form fields, and, if bit ModifyContent is also set, create or modify interactive form fields (including signature fields).

FillExistingFields

public static final int FillExistingFields

Specifies whether a user may fill in existing interactive form fields (including signature fields), even if bit AddOrModifyFields is clear.

ExtractTextAndGraphics

public static final int ExtractTextAndGraphics

Specifies whether a user may extract text and graphics in support of accessibility to users with disabilities or for other purposes.

AssembleDocument

public static final int AssembleDocument

Specifies whether a user may assemble the document (insert, rotate, or delete pages and create bookmarks or thumbnail images), even if bit ModifyContent is clear.

HighQualityPrint

public static final int HighQualityPrint

Specifies whether a user may 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 bit PrintDocument is set), printing is limited to a low-level representation of the appearance, possibly of degraded quality.