Leadtools TWAIN (Leadtools.Twain assembly)

AcquireMultiPage Event

Show in webframe





(Document/Medical only) Occurs twice for each scanned page, if the EnableAcquireMultiPageEvent property is set to true.
Syntax
public event EventHandler<TwainAcquireMultiPageEventArgs> AcquireMultiPage
'Declaration
 
Public Event AcquireMultiPage As EventHandler(Of TwainAcquireMultiPageEventArgs)
'Usage
 
Dim instance As TwainSession
Dim handler As EventHandler(Of TwainAcquireMultiPageEventArgs)
 
AddHandler instance.AcquireMultiPage, handler

            

            
public:
event EventHandler<TwainAcquireMultiPageEventArgs^>^ AcquireMultiPage
Event Data

The event handler receives an argument of type TwainAcquireMultiPageEventArgs containing data related to this event. The following TwainAcquireMultiPageEventArgs properties provide information specific to this event.

PropertyDescription
Cancel Set to true to abort the acquire operation.
FileName Indicates the filename into which the current multipage scanning operation is saving pages that are acquired.
FinishScan Gets a value that represents the status of the scanning process.
PageNumber Indicates the current page number of the scan.
Remarks
This event will be fired two times. The event is fired the first time when the TWAIN source begins scanning the page. The event is fired the second time when the TWAIN source has finished scanning the page.

For more information, refer to How to Acquire from the Twain Source.
Example
Refer to TwainSession.AcquireFast
Requirements

Target Platforms

See Also

Reference

TwainSession Class
TwainSession Members
Startup Method
Shutdown Method
AcquireFast Method
FindFastConfiguration Method
EnableAcquireMultiPageEvent Property

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.