Image Viewer CP ActiveX Control

TIFDeletePage

 

Delete Page of TIF file without displaying or decoding any of the images.

Public Function TIFDeletePage( _
   ByVal strFileName As String, _
   ByVal iPageNo As Integer
) As Boolean

 

Parameter

strFileName
   The path of TIFF File.

iPageNo
   Position to delete the page at.



Return Value

Return True - successful
Return False - Failed


Example

   

Visual Basic Syntax
ImageViewer1.TIFDeletePage "c:\source.tif",3