ImageEn, unit iemview

TImageEnMView.OnImageOut

TImageEnMView.OnImageOut


Declaration

property OnImageOut: TIEImageOutEvent;


Description

Occurs during the drawing of thumbnails, just prior to the painting of the image. It can be used to manipulate the image (rotate, color effects, etc) or add annotations.

Notes:
- Only affects the drawing of the image, not the image itself.
- If you wantint to supply an bitmap as a thumbnail source, use the OnImageIDRequestEx event instead.



Example

// Rotate all images 90 dec. CCW
procedure TForm1.ImageEnMView1ImageOut(Sender: TObject; idx: Integer; OutBitmap: TIEBitmap);
begin
  OutBitmap.Rotate( 90 );
end;