Leadtools.Twain Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
AcquirePage Event
See Also 
Leadtools.Twain Namespace > TwainSession Class : AcquirePage Event



Occurs for each page acquired from the currently selected TWAIN source using the Acquire method.

Syntax

Visual Basic (Declaration) 
Public Event AcquirePage() As EventHandler(Of TwainAcquirePageEventArgs)
Visual Basic (Usage)Copy Code
Dim instance As TwainSession
Dim handler As EventHandler(Of TwainAcquirePageEventArgs)
 
AddHandler instance.AcquirePage, handler
C# 
public event EventHandler<TwainAcquirePageEventArgs> AcquirePage()
C++/CLI 
public:
event EventHandler<TwainAcquirePageEventArgs>^ AcquirePage();

Example

Refer to Acquire.

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.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also