The PdfSecuritySettings type exposes the following members.
Properties
Name | Description | |
---|---|---|
HasOwnerPermissions |
Indicates whether the granted access to the document is 'owner permission'. Returns true if the document
is unprotected or was opened with the owner password. Returns false if the document was opened with the
user password.
| |
OwnerPassword |
Sets the owner password of the document. Setting a password automatically sets the
PdfDocumentSecurityLevel to PdfDocumentSecurityLevel.Encrypted128Bit if its current
value is PdfDocumentSecurityLevel.None.
| |
PdfDocumentEncryptionAlgorithm |
Gets or sets the document encryption alghoritm. If the type of the encryption alghoritm is different than None,
you must also set a user and/or an owner password. Otherwise saving the document will fail.
| |
PermitAccessibilityExtractContent |
Permits content extraction for accessibility.
| |
PermitAll |
Returns if user has all permissions.
| |
PermitAnnotations |
Permits commenting the document.
| |
PermitAssembleDocument |
Permits to insert, rotate, or delete pages and create bookmarks or thumbnail images even if
PermitModifyDocument is not set.
| |
PermitExtractContent |
Permits content copying or extraction.
| |
PermitFormsFill |
Permits filling of form fields.
| |
PermitFullQualityPrint |
Permits to print in high quality.
| |
PermitModifyDocument |
Permits modifying the document.
| |
PermitPrint |
Permits printing the document. Should be used in conjunction with PermitFullQualityPrint.
| |
UserPassword |
Sets the user password of the document. Setting a password automatically sets the
PdfDocumentSecurityLevel to PdfDocumentSecurityLevel.Encrypted128Bit if its current
value is PdfDocumentSecurityLevel.None.
|
See Also