ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 AcquireOpen and AcquireClose

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
esbreidenbach Posted - Sep 22 2011 : 11:45:04
I am using the TImageEnView object. I probably should be using the TImageEnMView object, but it is too late for that.

I am trying to scan multiple pages through the ADF. I issue the AcquireOpen command, and realize I need to issue the AcquireClose command, but I dont see anyway of knowing when the scanner has "finished" with all of the pages in the ADF.

I have code on the OnAcquireBitmap event, but this might fire a several times, so I dont want to use the AcquireClose command here, I assume.

Thanks for any help
1   L A T E S T    R E P L I E S    (Newest First)
fab Posted - Sep 23 2011 : 22:44:53
Hello,
at the moment it is not possible to know when the user closes the scanner dialog, when open using AcquireOpen.
From next minor release a new event will be added (OnAcquireClose) which will notify when the user closes this dialog.

Anyway you don't need to call AcquireClose with more recent versions, it is called automatically when the user closes the dialog.