Image Viewer CP Gold SDK ActiveX

Image Viewer CP Gold SDK ActiveX 7.5

Platform : Windows 9X, XP, Vista, Window 7

For Windows Developers who need to PDF Fax Viewer and Image Viewer , plus support TIFF with WANG Annotations,  securing a PDF document, add annotation with PDF in c++ , c#, vb.net , vb, delphi, vfp, ms access.  

How to render password protected PDF document

How to render password protected PDF document in VB.Net

Step 1: Download Image Viewer CP Gold ActiveX setup disk and installed it.

Step 2: Create New Visual Basic Project, select Windows Application.

Step 3: Add a buttons into the form.

Step 4: Add following code in buttons click event.

This sample render password protected PDF document, the user password is 123.

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

AxImageViewer1.PDFUserPassword="123"
AxImageViewer1.FileName="c:\test.tif"

End
Sub