Image Viewer CP SDK ActiveX

Image Viewer CP SDK ActiveX

Platform : Windows 10, Windows 8, Vista, Windows 7, XP

For Windows Developers who need to Fax, image viewer in c#, c , vb.net , vb, delphi, vfp, MS Access.

Popular Solution Go   Back

VB.NET - How to merge multiple tif files into one tif file in VB.Net Sample

Step 1: To install the Image Viewer CP ActiveX Control, begin by launching the setup file (imageviewercpsetup.exe). Select the desired installation folder for the Image Viewer CP ActiveX and continue with the installation on your development computer. 

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

Step 3: The next step is to install Image Viewer CP ActiveX in ToolBox. Select Toolbox, select Components item, right click mouse button, select Choose Items...


Step 4: Select COM Components tab, select Image Viewer CP ActiveX Control , click OK.

Step 5: Now you will see the Image Viewer CP ActiveX's icon on toolbox, drag it to form.

 

Step 6: Add a buttons on form.

Step 7: Add following code in buttons click event. Assume you have three TIFF files, yoursource1.tif, yoursource2.tif, yoursource3.tif.  You want to merge these files into one TIF file.

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

AxImageViewer1.TIFMergeMultiFiles("c:\yoursource1.tif c:\yoursource2.tif c:\yoursource3.tif", "c:\merged.tif")

End
Sub

Step 8: Download the sample source code from VBNET_TIFF_Merge.zip