TdxPDFSecurityOptions.UserPassword Property
In This Article
Specifies the user access password for a PDF document.
#Declaration
Delphi
property UserPassword: 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 user or owner password. If a user enters the user password, the application restricts available actions according to the Permissions property value. The application requests the owner password when a user attempts to perform a restricted action.
Note
A saved PDF document is protected by a password only if the Enabled property is set to True, and the User
The UserPassword property’s default value is an empty string.
See Also