EncryptionOptions.ModificationPermissions Property
Specifies document modification permissions.
Namespace: DevExpress.Docs.Pdf
Assembly: DevExpress.Docs.Core.v25.1.dll
NuGet Package: DevExpress.Docs.Core
Declaration
Property Value
Type | Description |
---|---|
DocumentModificationPermissions | An enumeration value that indicates the permission level. |
Available values:
Name | Description |
---|---|
NotAllowed | Prohibit document modification and assembling. |
DocumentAssembling | Allow only document assembling: insert, rotate or delete pages, and create bookmarks on the navigation pane. |
Allowed | Permit document modification and assembling. |
Property Paths
You can access this nested property as listed below:
Object Type | Path to ModificationPermissions |
---|---|
PdfExportOptions |
|
Remarks
Restrictions on data extraction, modification, interaction, or printing operations with a document cannot be applied without the owner password (the EncryptionOptions.OwnerPassword property).
The following value combinations with InteractivityPermissions property are not supported:
ModificationPermissions = PdfDocumentModificationPermissions.Allowed;
InteractivityPermissions = PdfDocumentInteractivityPermissions.NotAllowed;
ModificationPermissions = PdfDocumentModificationPermissions.DocumentAssembling;
//...or...
ModificationPermissions = PdfDocumentModificationPermissions.Allowed;
InteractivityPermissions = PdfDocumentInteractivityPermissions.FormFillingAndSigning;
ModificationPermissions = PdfDocumentModificationPermissions.DocumentAssembling;
InteractivityPermissions = PdfDocumentInteractivityPermissions.Allowed;