ImageEn, unit iexBitmaps

TIEMultiBitmap.GetBitmap

TIEMultiBitmap.GetBitmap


Declaration

function GetBitmap(idx: Integer): TBitmap;


Description

Creates a TBitmap object from the image at index, idx.
You will need to call ReleaseBitmap to free the TBitmap object.

See also: GetTIEBitmap.


Example

// Save the fifth image to file
bmp := MBitmap.GetBitmap(4);
bmp.SaveToFile('alfa.bmp');
MBitmap.ReleaseBitmap(4);