Image Viewer CP ActiveX Control

TIFSwap

 

Swap a pages from multipage TIFF file without displaying or decoding any of the images.

Public Function TIFSwap( _
   ByVal strSourceTIFFile As String, _
   ByVal iPage1 As Integer, _
   ByVal iPage2 As Integer
) As Boolean

 

Parameter

strSourceTIFFile
   Source TIFF File. It must be a multipage TIFF File.

iPage1
   The page 1 for swap.

iPage2
   The page 2 for swap.

Return Value

Return True - successful
Return False - Failed


Example

   

Visual Basic Syntax
ImageViewer1.TIFSwap "c:\source1.tif", 2, 5