PdfSecurityOptions Class

This class encapsulates the options to control the PDF document security like permissions, encryption, password protection

Definition

Namespace: EvoPdf.Chromium
Assembly: EvoPdf.Chromium (in EvoPdf.Chromium.dll) Version: 11.4.0
C#
public class PdfSecurityOptions
Inheritance
Object    PdfSecurityOptions

Constructors

PdfSecurityOptionsInitializes a new instance of the PdfSecurityOptions class

Properties

CanAssembleDocument Can assemble the PDF document generated by the HTML to PDF converter (create bookmarks, thumbnail images or insert, rotate, delete pages). This property has effect when a 128 bit key is used.
CanCopyAccessibilityContent Can copy the PDF document accessibility content of the PDF document generated by the HTML to PDF converter.
CanCopyContent Can copy the content of the PDF document generated by the HTML to PDF converter.
CanEditAnnotations Can edit the annotations of the PDF document generated by the HTML to PDF converter.
CanEditContent Can edit the content of the PDF document generated by the HTML to PDF converter.
CanFillFormFields Can fill the form fields in the PDF document generated by the HTML to PDF converter. This property has effect when a 128 bit key is used. To disable form filling the CanEditContent and CanEditAnnotations must be set on false.
CanPrint Can print the PDF document generated by the HTML to PDF converter. When this property is set to false the printing of the PDF document is disabled in a PDF viewer.
EncryptionAlgorithm The encryption algorithm used to encrypt the PDF document generated by the HTML to PDF converter. The default algorithm is RC4.
KeySize The dimension of the encryption key in the PDF document generated by the HTML to PDF converter. By default a 128 bit key is used.
OwnerPassword The password required to change permissions of the PDF document generated by the HTML to PDF converter, like printing or editing. If the OwnerPassword property is an empty string and the UserPassword is not empty, the OwnerPassword will be automatically assigned with the value from UserPassword and when the PDF document is opened in the viewer using the user password (which is also the owner password) all the operations like printing, copying, etc will be allowed.
UserPassword The password required to open the PDF document generated by the HTML to PDF converter. If the OwnerPassword property is an empty string and the UserPassword is not empty, the OwnerPassword will be automatically assigned with the value from UserPassword and when the PDF document is opened in the viewer using the user password (which is also the owner password) all the operations like printing, copying, etc will be allowed.

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