PDF Viewer ActiveX Control

IsEncrypted

 

Return true if the loaded PDF is password protected. Otherwise return false.

Public Function IsEncrypted() as Bool
 

 

No Parameter

Return Value
true - the pdf need password procted, otherwise return false.

Example

   

Visual Basic Syntax
PDFViewer1.LoadPDFFile "c:\test.pdf"
bIsPasswordProcted = PDFViewer1.IsEncrypted()