Click or drag to resize

PdfSecurityOptions Class

This class encapsulates the options to control the PDF document security options. The PDFConverter class define a reference to an object of this type.
Inheritance Hierarchy
SystemObject
  ExpertPdf.HtmlToPdfPdfSecurityOptions

Namespace:  ExpertPdf.HtmlToPdf
Assembly:  ephtmltopdf (in ephtmltopdf.dll) Version: 17.0.0
Syntax
public class PdfSecurityOptions

The PdfSecurityOptions type exposes the following members.

Constructors
  NameDescription
Public methodPdfSecurityOptions
Top
Properties
  NameDescription
Public propertyCanAccessibilityCopyContent
Can copy the document content for accessibility.
Public propertyCanAssembleDocument
Can assemble the document (create bookmarks, thumbnail images or insert, rotate, delete pages). This property has effect when a 128 bit key is used.
Public propertyCanCopyContent
Can copy the document content.
Public propertyCanEditAnnotations
Can edit PDF document annotations.
Public propertyCanEditContent
Can edit PDF document content.
Public propertyCanFillFormFields
Can fill the form fields. This property has effect when a 128 bit key is used. To disable form filling the CanEditContent and CanEditAnnotations must be set on false.
Public propertyCanPrint
Can print the document.
Public propertyKeySize
The dimension of the encryption key. By default a 128 bit key is used.
Public propertyOwnerPassword
The password required to change permissions of the PDF document 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.
Public propertyUserPassword
The password required to open the PDF document. 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.
Top
See Also