TdxPSPDFSecurityOptions.UserPassword Property
Specifies the user password for an exported PDF document.
Declaration
property UserPassword: string read; write;
Property Value
Type |
---|
string |
Remarks
Assign a password to this property to protect exported PDF documents. A PDF viewer application can open a protected document only if a user enters the user or owner password. If a user enters the user password, the viewer application restricts available actions according to the AllowActions property value. The viewer application requests the owner password when a user attempts to perform a restricted action.
Note
An exported PDF document is protected only if the Enabled property is set to True, and the UserPassword property is assigned.
The UserPassword property’s default value is an empty string.
See Also