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.
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.