PdfSecurity Class

Controls the security attributes of the generated PDF document

Definition

Namespace: HiQPdf.Next
Assembly: HiQPdf.Next (in HiQPdf.Next.dll) Version: 19.0.10
C#
public class PdfSecurity
Inheritance
Object    PdfSecurity

Constructors

PdfSecurityInitializes a new instance of the PdfSecurity class

Properties

AllowAssembling Controls if the assembling operations are allowed for the generated PDF document when the document is strongly encrypted. Assembling operations are insert, rotate or delete pages and create bookmarks or thumbnail images. This property is true by default
AllowCopyAccessibilityContent Controls if copying or extracting text and graphics for accessibility from the document is allowed. The content of a tagged document stays available to assistive technology regardless of this value, as PDF/UA requires. This property is true by default
AllowCopyContent Controls if copying or extracting text and graphics from the document is allowed. This property is true by default
AllowEditAnnotations Controls if it is allowed to add or modify text annotations or to fill in interactive form fields. If both this property and AllowEditContent are true then it is also allowed create or modify interactive form fields (including signature fields). This property is true by default
AllowEditContent Controls if it is allowed to modify the contents of the document by operations other than those controlled by AllowEditAnnotations and AllowFormFilling. This property is true by default
AllowFormFilling If this property is true then it is allowed to fill the PDF form even if AllowEditAnnotations is false. When this property, AllowEditContent and AllowEditAnnotations are false the form filling is not allowed.
AllowHighResolutionPrinting Controls if printing the PDF document at high resolution is allowed. When this property is false and printing is allowed, the PDF viewer prints the document at a reduced quality. This property is true by default
AllowPrinting Controls if printing the PDF document is allowed. This property is true by default
EncryptionLevel Controls the encryption level. When this property is not set, the High level (128 bit key) is used for PDF 1.x documents and the VeryHigh level (256 bit key) is used for PDF 2.0 documents, like the PDF/UA-2 documents
EncryptionMode Controls the encryption mode which can be RC4 or AES. When this property is not set, the RC4 mode is used for PDF 1.x documents and the AES mode is used for PDF 2.0 documents, like the PDF/UA-2 documents. PDF 2.0 documents encrypted with AES at the VeryHigh level use the encryption revision 6 defined in ISO 32000-2
OpenPassword Controls the password to open the PDF document
PermissionsPassword Controls the password to open the PDF document as owner. The owner has the right to open the document and to change the PDF document permissions in a PDF editor

Methods

Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
ToString
(Inherited from Object)

See Also