Leadtools TWAIN (Leadtools.Twain assembly)

AcquirePage Event

Show in webframe





Occurs for each page acquired from the currently selected TWAIN source using the Acquire method.
Syntax
public event EventHandler<TwainAcquirePageEventArgs> AcquirePage
'Declaration
 
Public Event AcquirePage As EventHandler(Of TwainAcquirePageEventArgs)
'Usage
 
Dim instance As TwainSession
Dim handler As EventHandler(Of TwainAcquirePageEventArgs)
 
AddHandler instance.AcquirePage, handler

            

            
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 TwainExtraImageInformation.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

See Also

Reference

TwainSession Class
TwainSession Members
Startup Method
Shutdown Method
SelectSource Method
Acquire Method

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.