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.

Note:
 Only affects the drawing of the image, not the image itself.
 To supply a 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;