ImageEn, unit imageenview |
|
TImageEnView.SetExternalBitmap
Declaration
procedure SetExternalBitmap(bmp: TIEBitmap);
Description
Allows you to connect the TImageEnView component to another
TIEBitmap, including sharing the bitmap of another TImageEnView.
This is useful to view the same image with multiple TImageEnView components, but loading the image only once.
| Demos\Display\ExternalBitmap\ExternalBMP.dpr |
ImageEnView1.IO.LoadFromFile('C:\input.jpg');
ImageEnView2.SetExternalBitmap( ImageEnView1.IEBitmap );
..Both ImageEnView1 and ImageEnView2 now show input.jpg.