Hello:
my code:
procedure TFrmScan.ImageEnMViewAcquireBitmap(Sender: TObject; ABitmap: TIEBitmap; DpiX, DpiY: Integer; var Handled: Boolean);
begin
if CheckError then
begin
ImageEnMView.MIO.AcquireParams.Aborting := True;
Handled := True;
ShowMessage('there are errors !');
end;
end;
When running this code, a dialogue window will pop up, and the scanner will not stop scanning until all the papers have been scanned. Why? I want to stop scanning when encountering errors and pop up a prompt dialog window.