PdfSecurityOptions Class
Contents
[
Hide
]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
| Method | Description |
|---|---|
| NewPdfSecurityOptions | The constructor of PdfSecurityOptions |
Methods
| Method | Description |
|---|---|
| IsNull | Checks whether the implementation object is nullptr. |
| GetUserPassword | Gets or sets the user password required for opening the encrypted PDF document. |
| SetUserPassword | Gets or sets the user password required for opening the encrypted PDF document. |
| GetOwnerPassword | Gets or sets the owner password for the encrypted PDF document. |
| SetOwnerPassword | Gets or sets the owner password for the encrypted PDF document. |
| GetPrintPermission | Indicates whether to allow to print the document. |
| SetPrintPermission | Indicates whether to allow to print the document. |
| GetModifyDocumentPermission | Indicates whether to allow to modify the contents of the document by operations other than those controlledby AnnotationsPermission, FillFormsPermission and AssembleDocumentPermission. |
| SetModifyDocumentPermission | Indicates whether to allow to modify the contents of the document by operations other than those controlledby AnnotationsPermission, FillFormsPermission and AssembleDocumentPermission. |
| GetAnnotationsPermission | Indicates whether to allow to add or modify text annotations, fill in interactive form fields. |
| SetAnnotationsPermission | Indicates whether to allow to add or modify text annotations, fill in interactive form fields. |
| GetFillFormsPermission | Indicates whether to allow to fill in existing interactive form fields (including signature fields),even if ModifyDocumentPermission is clear. |
| SetFillFormsPermission | Indicates whether to allow to fill in existing interactive form fields (including signature fields),even if ModifyDocumentPermission is clear. |
| GetExtractContentPermission | Indicates whether to allow to copy or otherwise extract text and graphics from the documentby operations other than that controlled by AccessibilityExtractContent. |
| SetExtractContentPermission | Indicates whether to allow to copy or otherwise extract text and graphics from the documentby operations other than that controlled by AccessibilityExtractContent. |
| GetAccessibilityExtractContent | Indicates whether to allow to extract text and graphics (in support of accessibility to users with disabilities or for other purposes). |
| SetAccessibilityExtractContent | Indicates whether to allow to extract text and graphics (in support of accessibility to users with disabilities or for other purposes). |
| 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. |
| 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. |
| GetFullQualityPrintPermission | Indicates whether to allow to print the document to a representation fromwhich a faithful digital copy of the PDF content could be generated. |
| SetFullQualityPrintPermission | Indicates whether to allow to print the document to a representation fromwhich a faithful digital copy of the PDF content could be generated. |