Aspose::Cells::Rendering::PdfSecurity::PdfSecurityOptions class

PdfSecurityOptions class

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

class PdfSecurityOptions

Methods

MethodDescription
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.
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.
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.
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.
GetPrintPermission()Indicates whether to allow to print the document.
GetUserPassword()Gets or sets the user password required for opening the encrypted PDF document.
IsNull() constChecks whether the implementation object is nullptr.
explicit operator bool() constoperator bool()
operator=(const PdfSecurityOptions& src)operator=
PdfSecurityOptions()The constructor of PdfSecurityOptions.
PdfSecurityOptions(PdfSecurityOptions_Impl* impl)Constructs from an implementation object.
PdfSecurityOptions(const PdfSecurityOptions& src)Copy constructor.
SetAccessibilityExtractContent(bool value)Indicates whether to allow to extract text and graphics (in support of accessibility to users with disabilities or for other purposes).
SetAnnotationsPermission(bool value)Indicates whether to allow to add or modify text annotations, fill in interactive form fields.
SetAssembleDocumentPermission(bool value)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(bool value)Indicates whether to allow to copy or otherwise extract text and graphics from the document by operations other than that controlled by AccessibilityExtractContent.
SetFillFormsPermission(bool value)Indicates whether to allow to fill in existing interactive form fields (including signature fields), even if ModifyDocumentPermission is clear.
SetFullQualityPrintPermission(bool value)Indicates whether to allow to print the document to a representation from which a faithful digital copy of the PDF content could be generated.
SetModifyDocumentPermission(bool value)Indicates whether to allow to modify the contents of the document by operations other than those controlled by AnnotationsPermission, FillFormsPermission and AssembleDocumentPermission.
SetOwnerPassword(const U16String& value)Gets or sets the owner password for the encrypted PDF document.
SetOwnerPassword(const char16_t* value)Gets or sets the owner password for the encrypted PDF document.
SetPrintPermission(bool value)Indicates whether to allow to print the document.
SetUserPassword(const U16String& value)Gets or sets the user password required for opening the encrypted PDF document.
SetUserPassword(const char16_t* value)Gets or sets the user password required for opening the encrypted PDF document.
~PdfSecurityOptions()Destructor.

Fields

FieldDescription
_implThe implementation object.

See Also