ImageEn, unit iexBitmaps

DeleteDCXIm

DeleteDCXIm

Declaration

procedure DeleteDCXIm(const FileName: WideString; Index: Integer);

Description

Removes an image at index, Index (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