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 the drawing of the image is affected, not the image itself.


Example


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