EncryptionOptions.OwnerPassword Property
Specifies an owner password that allows full access to a document.
Namespace: DevExpress.Docs.Pdf
Assembly: DevExpress.Docs.Core.v25.1.dll
NuGet Package: DevExpress.Docs.Core
Declaration
Property Value
Type | Description |
---|---|
String | The owner password. |
Property Paths
You can access this nested property as listed below:
Object Type | Path to OwnerPassword |
---|---|
PdfExportOptions |
|
Remarks
The `OwnerPassword specifies the permission (or owner) password used to restrict operations in a PDF document.
Note
If the Owner and User passwords are the same, or the Owner password is missing and the document is protected only with the User password, the resulting document has a document opening restriction. In this case, all users have full access to this document after opening it.
Specify the OwnerPassword
property to apply restrictions. Users will need to enter the owner password when opening the document to get full access to its operations.
Use the EncryptionOptions.UserPassword property to set the open password and restrict access to the document entirely.