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
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Multi-Page Scanning Without ADF
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

JonRobertson

USA
41 Posts

Posted - Oct 20 2011 :  14:40:04  Show Profile  Reply
I'm replacing the scanning functionality in our application with ImageEn (with long-term plans to do a lot more with ImageEn). Our application allows the user to scan multiple pages into a TIFF even if the scanner does not have an ADF.

I would like to do with using just a TImageEnMView. But I'm not sure if this is possible. The best idea I have at the moment is to do this (pseudo):

Create TImageEnMView
Create TImageEnView
repeat
Acquire single page using TImageEnView
Append acquired page into TImageEnMView
until user cancels scan via our dialog

The three other "modes" we support (single page, ADF, duplex) can be implemented with a single TImageEnMView. I would much prefer to find a way to call "Acquire" multiple times to scan single pages into a TImageEnMView.

Is this possible?

Thanks

fab

1310 Posts

Posted - Oct 23 2011 :  23:50:43  Show Profile  Reply
Using just TImageEnMView you have two ways:

1) call ImageEnMView.MIO.Acquire() for each page: if the scanner supports ADF ImageEn will use it. Otherwise a single page will be acquired. Each page is added automatically to the others.

2) call ImageEnMView.MIO.AcquireOpen. User can acquire each page using the scanner dialog. You don't need to call AcquireOpen multiple times.

Finallly, call ImageEnMView.MIO.SaveToFile() to create the multipage TIFF file.
Go to Top of Page

graphman

259 Posts

Posted - Jul 24 2012 :  04:04:48  Show Profile  Reply
> 2) call ImageEnMView.MIO.AcquireOpen. User can acquire each page using the
> scanner dialog. You don't need to call AcquireOpen multiple times.

!!! You don't need to call AcquireOpen multiple times.

How to show the scanner dialog again without using AcquireOpen?
This dialog is closing after first scanning.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: