ImageEn, unit iexAcquire

TIEAcquireParams.Aborting

TIEAcquireParams.Aborting


Declaration

property Aborting : Boolean; (Read/Write)


Description

Set to false to cancel the acquisition of images (e.g. during the OnProgress event)


Example

procedure TForm1.ImageEnMView1AcquireBitmap(Sender: TObject; ABitmap: TIEBitmap;
    DpiX, DpiY: Integer; var Handled: Boolean);
begin
  if fCancelled then
  begin
    Handled := True;
    ImageEnMView1.MIO.AcquireParams.Aborting := True;
  end;
end;