ImageEn, unit imageenview

TImageEnView.CopyToBitmapWithAlpha

TImageEnView.CopyToBitmapWithAlpha


Declaration

procedure TImageEnView.CopyToBitmapWithAlpha(Dest: TBitmap; DestX, DestY: Integer);


Description

Copies the current image to the Dest bitmap, at DestX, DestY position.
If the image has an alpha channel, CopyToBitmapWithAlpha copies only the visible area.

Note: An exception will be raised if the image does not have an alpha channel.


Example

ImageEnView1.CopyToBitmapWithAlpha( MyBitmap, 0, 0);
ImageEnView2.Update;