Security Properties |
The Security type exposes the following members.
| Name | Description | |
|---|---|---|
| CanAccessibilityCopyContent | Can copy the document content for accessibility. | |
| CanAssembleDocument | Can assemble the 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 document content. | |
| CanEditAnnotations | Can edit PDF document annotations. | |
| CanEditContent | Can edit PDF document content. | |
| CanFillFormFields | 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. | |
| CanPrint | Can print the document. | |
| EncryptMetadata | Gets or sets whether the document's XMP metadata stream is encrypted with the rest of the document. | |
| KeySize | The dimension of the encryption key. The default key size is 128 bits for a newly created document, with the AES algorithm; a 40 bit key uses the RC4 algorithm and a 256 bit key AES-256 (revision 6). | |
| 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. |