CutTiffFile  Method

Description         The method will cut (remove) the first nImage images from the szSourceFileName multipage TIFF File. The nImage is a zero based short. If nImage is less than 1 or greater than number of images, the method does nothing and returns immediately with FALSE.

Syntax                 RetVal = [BITIFF.]CutTiffFile szSourceFileName szPrefixFileName nImage

Returns               RetVal                    BOOL             TRUE on success, otherwise FALSE.

Remarks             szSourceFileName STRING         The source TIFF File. It must be a multipage TIFF File.

                            SzPrefixFileName STRING         The path and prefix for the destination TIFF File. The CutTiffFile will append 0001 for the first image 0002 for the second image and so on.

                            nImage                   Short               The number of images t be cut from the beginning of the TIFF File.

See Also              SplitTiffFile Method, MergeTiffFiles Method, CutProgress Event