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

Step 1: Download image viewer cp 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. Assume you have three TIFF files, source1.tif, source2.tif, source3.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:\source1.tif c:\source2.tif c:\source3.tif", "c:\merged.tif"

End
Sub