ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder
ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 acquire images from scanner
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  


Hong Kong
4 Posts

Posted - Aug 28 2019 :  06:17:53  Show Profile  Reply

I try as below to acquire images from scanner (Koda3400,sequential scans for 200 pages). It works well, also can catch the error like 'paper jam'.

If ImageEnMView1.MIO.Acquire = false then showmessage('Paper Jam');

How can I know it is completed by 'scan finished' or 'scan cancelled by user'? Since the value returned is only TRUE or FALSE, and TRUE means both of 'scan finished' and 'scan canceled by user'.



5055 Posts

Posted - Aug 29 2019 :  23:17:29  Show Profile  Reply

You would need to check whether an image has been acquired, e.g. by setting a value in OnAcquireBitmap, or comparing ImageEnMView1.ImageCount.

Xequte Software
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To: