PdfSecurityOptions Class

PdfSecurityOptions class

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


type PdfSecurityOptions struct  {
	ptr unsafe.Pointer
}

Constructors

MethodDescription
NewPdfSecurityOptionsThe constructor of PdfSecurityOptions

Methods

MethodDescription
IsNullChecks whether the implementation object is nullptr.
GetUserPasswordGets or sets the user password required for opening the encrypted PDF document.
SetUserPasswordGets or sets the user password required for opening the encrypted PDF document.
GetOwnerPasswordGets or sets the owner password for the encrypted PDF document.
SetOwnerPasswordGets or sets the owner password for the encrypted PDF document.
GetPrintPermissionIndicates whether to allow to print the document.
SetPrintPermissionIndicates whether to allow to print the document.
GetModifyDocumentPermissionIndicates whether to allow to modify the contents of the document by operations other than those controlledby , and .
SetModifyDocumentPermissionIndicates whether to allow to modify the contents of the document by operations other than those controlledby , and .
GetAnnotationsPermissionIndicates whether to allow to add or modify text annotations, fill in interactive form fields.
SetAnnotationsPermissionIndicates whether to allow to add or modify text annotations, fill in interactive form fields.
GetFillFormsPermissionIndicates whether to allow to fill in existing interactive form fields (including signature fields),even if is clear.
SetFillFormsPermissionIndicates whether to allow to fill in existing interactive form fields (including signature fields),even if is clear.
GetExtractContentPermissionIndicates whether to allow to copy or otherwise extract text and graphics from the documentby operations other than that controlled by .
SetExtractContentPermissionIndicates whether to allow to copy or otherwise extract text and graphics from the documentby operations other than that controlled by .
GetAccessibilityExtractContentIndicates whether to allow to extract text and graphics (in support of accessibility to users with disabilities or for other purposes).
SetAccessibilityExtractContentIndicates whether to allow to extract text and graphics (in support of accessibility to users with disabilities or for other purposes).
GetAssembleDocumentPermissionIndicates whether to allow to assemble the document (insert, rotate, or delete pages and create bookmarks or thumbnail images),even if is clear.
SetAssembleDocumentPermissionIndicates whether to allow to assemble the document (insert, rotate, or delete pages and create bookmarks or thumbnail images),even if is clear.
GetFullQualityPrintPermissionIndicates whether to allow to print the document to a representation fromwhich a faithful digital copy of the PDF content could be generated.
SetFullQualityPrintPermissionIndicates whether to allow to print the document to a representation fromwhich a faithful digital copy of the PDF content could be generated.