ImageEn, unit iexBitmaps

TIEBitmap.CopyFromTBitmap

TIEBitmap.CopyFromTBitmap


Declaration


procedure CopyFromTBitmap(Source: TBitmap);


Description


Copies the image from the Source TBitmap object.
Permitted values for source PixelFormat are: pf1bit, pf4bit, pf8bit, pf15bit, pf16bit, pf24bit, pf32bit, pfDevice (pfDevice images will be treated as pf24bit).
If Location is ieTBitmap, then only pf1bit and pf24bit and pf32bit are accepted.


Example


// Display the same image as a TImage
ImageEnView1.IEBitmap.CopyFromTBitmap( Image1.Picture.Bitmap );
ImageEnView1.Update();