The Security type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| CanAssembleDocument |
Can assemble the PDF document (create bookmarks, thumbnail images or insert, rotate, delete
pages). This property has effect when a 128 bit key is used.
| |
| CanCopyContent |
Can copy the PDF document content.
| |
| CanEditAnnotations |
Can edit PDF document annotations. When this property is set to false the annotations cannot be changed in a PDF editor
| |
| CanEditContent |
Can edit PDF document content. When this property is set false the PDF document content cannot be changed in a PDF editor
| |
| CanFillFormFields |
Can fill the PDF 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.
| |
| CanPrint |
Can print the PDF document. When this property is set to false the printing of the PDF document is disabled in a PDF viewer.
| |
| KeySize |
The dimension of the PDF doucument encryption key. The default the key size is 128 bits for a newly created PDF document.
| |
| OwnerPassword |
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.
| |
| UserPassword |
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.
|