ImageEn, unit iemview

TImageEnMView.SetImageRect

TImageEnMView.SetImageRect

Declaration

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

Description

Sets the image assigned to Index.

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