Image Viewer CP ActiveX Control

PDFUserPassword

 

Set the user password with encrypted PDF file when you loading the PDF file.

ImageViewer1.PDFUserPassword[=String]


Parameter
String
the string of user password.

Remark
This property is Read/Write.

Example

   

Visual Basic Syntax
ImageViewer1.FileName="c:\test.pdf"
If ImageViewer1.PDFIsEncrypted and ImageViewer1.FileWidth =0 then
   ImageViewer.PDFUserPassword="yourpass"
   ImageViewer1.FileName="c:\test.pdf"
endif