Click or drag to resize

Security Class

This class encapsulates the options to control the PDF document security options. The Document class defines a reference to an object of this type
Inheritance Hierarchy
SystemObject
  ExpertPdf.PdfCreatorSecurity

Namespace:  ExpertPdf.PdfCreator
Assembly:  epdfcreator (in epdfcreator.dll) Version: 17.0.0
Syntax
public class Security

The Security type exposes the following members.

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. The default the key size is 128 bits for a newly created document.
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