Encapsulates access to the security settings of a PDF document.
Inheritance Hierarchy
PdfEdit.Pdf.SecurityPdfSecuritySettings
Namespace: PdfEdit.Pdf.Security
Assembly: PdfPrintingNet (in PdfPrintingNet.dll) Version: 5.1.1.0 (5.1.1.0)
Syntax
The PdfSecuritySettings type exposes the following members.
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (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.) | |
ToString | Returns a String that represents the current Object. (Inherited from Object.) |
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