T O P I C R E V I E W |
JonRobertson |
Posted - Oct 20 2011 : 14:40:04 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 |
2 L A T E S T R E P L I E S (Newest First) |
graphman |
Posted - Jul 24 2012 : 04:04:48 > 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. |
fab |
Posted - Oct 23 2011 : 23:50:43 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. |