string UserPassword |
[Top] [Chapter] [Previous] [Next] |
The OCX uses the property SECURITY_USERPASSWORD
This is the "user" password for the created PDF file. It will be required to open and read the PDF file.
Don't forget to also set bit 1 in property "Permission" to make the encryption work.
If Permission=1 and UserPassword is empty the file will be encrypted with the PDF default password.
If you use the new PDFCreator interface, please see PDFCreator.UserWP. |