ImageEn, unit imageenview

TImageEnView.OnIONotify

TImageEnView.OnIONotify


Declaration

property OnIONotify: TIEIONotifyEvent;


Description

Occurs whenever an action occurs in the attached TImageEnIO, including loading, saving and acquisition.

Note: OnIONotify does not occur with PdfViewer events. For that use OnBeforeLoadImage, OnImageLoaded and OnUserInteraction.


Example

// Update the UI after saving
procedure TMainForm.ImageEnView1IONotify(Sender: TObject; Event: TIEIOWorkType);
begin
  if event = ieftAfterSave then
  begin
    ...
  end;
end;