Return the Encrypt status when you loading the PDF file.
ImageViewer1.PDFIsEncrypted[=Bool]
Parameter Bool return true if the PDF is encrypted, otherwise false.
Remark This property is Read only.
Example
Visual Basic Syntax ImageViewer1.FileName="c:\test.pdf" If ImageViewer1.PDFIsEncrypted and ImageViewer1.FileWidth =0 then ImageViewer.PDFPassword="yourpass" ImageViewer1.FileName="c:\test.pdf" endif