Image Viewer CP ActiveX Control

PDFOwnerPassword

 

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

ImageViewer1.PDFOwnerPassword[=String]


Parameter
String
the string of owner 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"
   ImageViewer.PDFOwnerPassword="yourpass"
   ImageViewer1.FileName="c:\test.pdf"
endif