Image Viewer CP ActiveX Control

TIFMergeMultiFiles 

 

Combine multiple TIFF Files into a single multi page TIFF File without displaying or decoding any of the images. The outputed TIFF file will kept the original compression type.

Public Function TIFMergeMultiFiles( _
   ByVal strTIFFileList  As String, _
   ByVal strOutputTIFFile As String, _
   ByVal strDelimit As String
) As Integer

 

Parameter

strTIFFileList
  The list of source TIFF files. Each file must be separated with a space.

e.g  c:\test1.tif;c:\test2.tif;c:\test3.tif

strOutputTIFFile
   The destination TIFF File.

strDelimit
   Separator character used to delimit substrings of strTIFFFileList.


Return Value

Return 1 - Successful
Return -1 - The list of source TIFF files string is empty.
Return -2 - The string of the destination TIFF File is empty.
Return -3 - The list of source file have non TIFF file.
Return -4 - Some File does not existing in the list of source file.

Example

   

Visual Basic Syntax
ImageViewer1.TIFMergeMultiFiles "c:\source1.tif;c:\source2.tif;c:\source3.tif", "c:\merged.tif",";"