SplitTiffFile  Method

Description         The method will split a multipage TIFF file into two TIFF file at the position specified by the nImage parameter. The nImage is zero based short. This function may take a considerable amount of time to perform for large images. If nImage less than 0 or greater than number of images, the method does nothing and returns immediately with FALSE. If nImage equals zero, the method move all images to the newly created TIFF File.

Syntax                 RetVal = [BITIFF.]SplitTiffFile szSourceFileName szNewFileName nImage

Returns               RetVal                    BOOL             TRUE on success, otherwise FALSE.

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

                            szNewFileName     STRING         The new TIFF File generated after the split.

                            nImage                   Short               Position where the source TIFF File will be split.

See Also              CutTiffFile Method, MergeTiffFiles Method, SplitProgress Event