Visual Basic (Declaration) | |
---|---|
Public Event AcquireMultiPage As EventHandler(Of TwainAcquireMultiPageEventArgs) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As TwainSession Dim handler As EventHandler(Of TwainAcquireMultiPageEventArgs) AddHandler instance.AcquireMultiPage, handler |
C# | |
---|---|
public event EventHandler<TwainAcquireMultiPageEventArgs> AcquireMultiPage |
C++/CLI | |
---|---|
public: event EventHandler<TwainAcquireMultiPageEventArgs^>^ AcquireMultiPage |
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.
Property | Description |
---|---|
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. |
Refer to TwainSession.AcquireFast
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.
For more information, refer to How to Acquire from the Twain Source.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7