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 (and update the TImageEnMView if changes were made).

See also: GetTIEBitmap.


Example

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