This property sets the user password for the PDF document.
[C++
Builder] imagekitcontrolname->FileIO->PDF->UserPassword[=UnicodeString]
[Delphi] imagekitcontrolname.FileIO.PDF.EnableEdit
[ = string ]
Value
The PDF document's user passoword
Default value is an empty string.
Explanation
The UserPassword property sets the user password for the PDF document. This is the password that opens a protected PDF document.
The default value is an empty string. The UserPassword property is referenced when the Start method is executed, so set an appropriate value before executing the Start method.
You cannot set only the user password. Set the owner password or the owner password and the user password. Set a different value for this property than the OwnerPassword property.
Setting this value
This value can be set at runtime.
Retrieving this value
This value can be retrieved at run-time.