Home : TWAIN Desktop Scanning : Scan Images in Batch with Acquire
Q10196 - HOWTO: Scan Images in Batch with Acquire

Batch Scanning consists of two parts: The call to aquire and the ImageAcquired event which is called when each page is scanned. The following example illustrates how this can be done:

Initialization:

_acquisition = new Atalasoft.Twain.Acquisition(this);

_acquisition.ImageAcquired += new Atalasoft.Twain.ImageAcquiredEventHandler(_acquisition_ImageAcquired);

 

Aquire:

_acquisition.Acquire();

 

Event:

private void _acquisition_ImageAcquired(object sender, Atalasoft.Twain.AcquireEventArgs e)

{

// Perform for each scanned page

}

 

Cleanup:

_acquisition.Dispose();

 

Related Articles
No Related Articles Available.

Article Attachments
No Attachments Available.

Related External Links
No Related Links Available.
Help us improve this article...
What did you think of this article?

poor 
1
2
3
4
5
6
7
8
9
10

 excellent
Tell us why you rated the content this way. (optional)
 
Approved Comments...
No user comments available for this article.

Powered By InstantKB.NET v1.3
Copyright © 2002, 2017. InstantASP Ltd. All Rights Reserved