new PdfSecurityOptions()

The constructor of PdfSecurityOptions

Methods

getAccessibilityExtractContent()

Indicates whether to allow to extract text and graphics (in support of accessibility to users with disabilities or for other purposes).

getAnnotationsPermission()

Indicates whether to allow to add or modify text annotations, fill in interactive form fields. if ModifyDocumentPermission is also set, create or modify interactive form fields (including signature fields).

getAssembleDocumentPermission()

Indicates whether to allow to assemble the document (insert, rotate, or delete pages and create bookmarks or thumbnail images), even if ModifyDocumentPermission is clear.

getExtractContentPermission()

Indicates whether to allow to copy or otherwise extract text and graphics from the document by operations other than that controlled by AccessibilityExtractContent.

getExtractContentPermissionObsolete()

Permission to copy or extract content Obsoleted according to PDF reference. NOTE: This member is now obsolete. Instead, please use ExtractContentPermission property. This property will be removed 12 months later since September 2023. Aspose apologizes for any inconvenience you may have experienced.

getFillFormsPermission()

Indicates whether to allow to fill in existing interactive form fields (including signature fields), even if ModifyDocumentPermission is clear.

getFullQualityPrintPermission()

Indicates whether to allow to print the document to a representation from which a faithful digital copy of the PDF content could be generated. When it is clear (and PrintPermission is set), printing is limited to a low level representation of the appearance, possibly of degraded quality.

getModifyDocumentPermission()

Indicates whether to allow to modify the contents of the document by operations other than those controlled by AnnotationsPermission, FillFormsPermission and AssembleDocumentPermission.

getOwnerPassword()

Gets or sets the owner password for the encrypted PDF document. The owner password allows the user to open an encrypted PDF document without any access restrictions specified.

getPrintPermission()

Indicates whether to allow to print the document. Possibly not at the highest quality level, depending on whether FullQualityPrintPermission is also set.

getUserPassword()

Gets or sets the user password required for opening the encrypted PDF document. The owner password or user password will be required to open an encrypted PDF document for viewing.The user password can be null or empty string, in this case no password will be required from the user when opening the PDF document.Opening the document with the correct owner password allows full access to the document.Opening the document with the correct user password (or opening a document that does not have a user password) allows limited access as the permissions specified.

setAccessibilityExtractContent()

Indicates whether to allow to extract text and graphics (in support of accessibility to users with disabilities or for other purposes).

setAnnotationsPermission()

Indicates whether to allow to add or modify text annotations, fill in interactive form fields. if ModifyDocumentPermission is also set, create or modify interactive form fields (including signature fields).

setAssembleDocumentPermission()

Indicates whether to allow to assemble the document (insert, rotate, or delete pages and create bookmarks or thumbnail images), even if ModifyDocumentPermission is clear.

setExtractContentPermission()

Indicates whether to allow to copy or otherwise extract text and graphics from the document by operations other than that controlled by AccessibilityExtractContent.

setExtractContentPermissionObsolete()

Permission to copy or extract content Obsoleted according to PDF reference. NOTE: This member is now obsolete. Instead, please use ExtractContentPermission property. This property will be removed 12 months later since September 2023. Aspose apologizes for any inconvenience you may have experienced.

setFillFormsPermission()

Indicates whether to allow to fill in existing interactive form fields (including signature fields), even if ModifyDocumentPermission is clear.

setFullQualityPrintPermission()

Indicates whether to allow to print the document to a representation from which a faithful digital copy of the PDF content could be generated. When it is clear (and PrintPermission is set), printing is limited to a low level representation of the appearance, possibly of degraded quality.

setModifyDocumentPermission()

Indicates whether to allow to modify the contents of the document by operations other than those controlled by AnnotationsPermission, FillFormsPermission and AssembleDocumentPermission.

setOwnerPassword()

Gets or sets the owner password for the encrypted PDF document. The owner password allows the user to open an encrypted PDF document without any access restrictions specified.

setPrintPermission()

Indicates whether to allow to print the document. Possibly not at the highest quality level, depending on whether FullQualityPrintPermission is also set.

setUserPassword()

Gets or sets the user password required for opening the encrypted PDF document. The owner password or user password will be required to open an encrypted PDF document for viewing.The user password can be null or empty string, in this case no password will be required from the user when opening the PDF document.Opening the document with the correct owner password allows full access to the document.Opening the document with the correct user password (or opening a document that does not have a user password) allows limited access as the permissions specified.