Platform :

Popular Solution Go   Back

VB.NET - How to convert tiff to PDF/A in VB.Net Sample

How to convert tif to pdf/a in VB.Net Sample

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. You need change the correct path of your image file with FileName property.

This sample code convert tif file to PDF/A file.

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

AxImageViewer1.FileName = "c:\yourimage.tif"
AxImageViewer1.PDFOutputPDFA=True
AxImageViewer1.Save "c:\newfile", "pdf"

End Sub