AcquirePage Event

Summary
Occurs for each page acquired from the currently selected TWAIN source using the Acquire method.
Syntax
C#
VB
C++
public event EventHandler<TwainAcquirePageEventArgs> AcquirePage 
Public Event AcquirePage As EventHandler(Of TwainAcquirePageEventArgs) 
public: 
event EventHandler<TwainAcquirePageEventArgs^>^ AcquirePage 
Event Data

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

PropertyDescription
Cancel Set to true to abort the acquire operation.
Image Gets the IRasterImage which holds the image data acquired from the TWAIN Data Source.
Remarks

If the user acquired several pages at the same time, a separate event occurs for each page. The GetInformation method can only be called within this event. For more information, refer to How to Acquire from the Twain Source.

Example

Refer to Acquire.

Requirements

Target Platforms

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

Leadtools.Twain Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.