|
Split a multipage TIFF file into two TIFF file at the position specified by the iStartFromPageNo parameter.
Public Function TIFSplit( _ ByVal strSourceTIFFile As String, _ ByVal iStartFromPageNo As Integer, _ ByVal strOutputTIFFile1 As String, _ ByVal strOutputTIFFile2 As String ) As Boolean
|
Parameter
strSourceTIFFile Source TIFF File. It must be a multipage TIFF File.
iStartFromPageNo Position where the source TIFF file will be split.
strOutputTIFFile1 The new TIFF File 1 generated after the split.
strOutputTIFFile2 The new TIFF File 2 generated after the split.
Return Value
Return True - successful Return False - Failed
Example
|
Visual Basic Syntax ImageViewer1.TIFSplit "c:\source1.tif", 4, "c:\output1.tif","c:\output2.tif"
|
|
|