Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxPDFSecurityOptions.OwnerPassword Property

Specifies the owner access password for a PDF document.

#Declaration

Delphi
property OwnerPassword: string read; write;

#Property Value

Type
string

#Remarks

Assign a password to this property to protect a document. A consumer application can open a protected document only if a user enters the owner or user password. If a user enters the owner password, the application does not impose any restrictions on available actions. If a user enters the user password, the application restricts available actions according to the Permissions property value.

Note

A saved PDF document is protected by a password only if the Enabled property is set to True, and the UserPassword property is assigned.

The OwnerPassword property’s default value is an empty string.

See Also