ImageEn, unit iemview

TImageEnMView.SetImageRect

TImageEnMView.SetImageRect


Declaration

procedure SetImageRect(idx: Integer; srcImage: TBitmap; x1, y1, x2, y2: Integer);
procedure SetImageRect(idx: Integer; srcImage: TIEBitmap; x1, y1, x2, y2: Integer);


Description

Sets the image assigned to index, idx.

The rectangle x1, y1, x2, y2 of srcImage bitmap is copied internally. After calling SetImageRect you can free the srcImage bitmap.