ImageEn, unit iexBitmaps

DeleteDCXIm


Declaration

procedure DeleteDCXIm(const FileName: WideString; idx: integer);


Description

Removes an image at index, idx (zero-based), from a multi-frame DCX 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 DCX, named 'multipage.dcx'.
DeleteDCXIm('C:\multipage.dcx', 1);


See Also

 InsertToFileDCX
 EnumDCXIm (Image Count)
 Global Image Methods