AcquireMultiPage Event

Summary

(Document/Medical only) Occurs twice for each scanned page, if the EnableAcquireMultiPageEvent property is set to true.

Syntax
C#
VB
C++
public event EventHandler<TwainAcquireMultiPageEventArgs> AcquireMultiPage 
Public Event AcquireMultiPage As EventHandler(Of TwainAcquireMultiPageEventArgs) 
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

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Twain Assembly