ImageEn, unit imageenview

TImageEnView.IEBitmap

TImageEnView.IEBitmap


Declaration

property IEBitmap: TIEBitmap;


Description

Contains the image (current layer) to display. The object TIEBitmap also contains the alpha channel of the image.
If your image contains multiple layers then IEBitmap is the bitmap of the selected image layer. If a non-image layer is selected then IEBitmap will be the background layer (Layer 0).

Note:
You must call Update if you modify IEBitmap directly
If LegacyBitmap is True, IEBitmap is just a wrapper for TBitmap that may be accessed using the Bitmap property


Example

// Copy the displayed image to a TBitmap
ImageEnView1.IEBitmap.CopyToTBitmap( MyBmp );

// Copy the displayed image to a TImage
ImageEnView1.IEBitmap.CopyToTBitmap( Image1.Picture.Bitmap );

// Display a TBitmap
ImageEnView1.IEBitmap.CopyFromTBitmap( MyBmp );
ImageEnView1.Update();