←Select platform

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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Twain Assembly