ImageEn, unit iexBitmaps

DeleteTIFFIm


Declaration

function DeleteTIFFIm(const FileName: WideString; idx: Integer): Integer;


Description

Removes an image at index, idx (zero-based), from a multi-frame TIFF file.
Returns the remaining number of frames that the file contains. If the FileName doesn't exists or doesn't contain images, it returns 0.


Example

// Delete the second image in a multipage TIFF, named 'multipage.tif'.
DeleteTIFFIm('C:\multipage.tif', 1);


See Also

DeleteTIFFImGroup
InsertTIFFImageFile
InsertToFileTIFF
ReplaceFileTIFF
EnumTIFFIm (Image Count)
Global Image Methods