Leadtools TWAIN (Leadtools.Twain assembly)
LEAD Technologies, Inc

AcquireMultiPage Event






(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
add_AcquireMultiPage(function(sender, e))
remove_AcquireMultiPage(function(sender, e))

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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

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

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.