PdfSecurityOptions class

PdfSecurityOptions class

Options for encrypting and access permissions for a PDF document. PDF/A does not allow security setting.

The PdfSecurityOptions type exposes the following members:

Constructors

ConstructorDescription
initThe constructor of PdfSecurityOptions

Properties

PropertyDescription
user_passwordGets or sets the user password required for opening the encrypted PDF document.
owner_passwordGets or sets the owner password for the encrypted PDF document.
print_permissionIndicates whether to allow to print the document.
modify_document_permissionIndicates whether to allow to modify the contents of the document by operations other than those controlled
by PdfSecurityOptions.annotations_permission, PdfSecurityOptions.fill_forms_permission and PdfSecurityOptions.assemble_document_permission.
extract_content_permission_obsoletePermission to copy or extract content Obsoleted according to PDF reference.
annotations_permissionIndicates whether to allow to add or modify text annotations, fill in interactive form fields.
fill_forms_permissionIndicates whether to allow to fill in existing interactive form fields (including signature fields),
even if PdfSecurityOptions.modify_document_permission is clear.
extract_content_permissionIndicates whether to allow to copy or otherwise extract text and graphics from the document
by operations other than that controlled by PdfSecurityOptions.accessibility_extract_content.
accessibility_extract_contentIndicates whether to allow to extract text and graphics (in support of accessibility to users with disabilities or for other purposes).
assemble_document_permissionIndicates whether to allow to assemble the document (insert, rotate, or delete pages and create bookmarks or thumbnail images),
even if PdfSecurityOptions.modify_document_permission is clear.
full_quality_print_permissionIndicates whether to allow to print the document to a representation from
which a faithful digital copy of the PDF content could be generated.

See Also