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



Occurs for each page acquired from the currently selected WIA source using the WiaSession.AcquireToFile method and it will also get called for each end of page to provide the user with the EndOfPage flag through the Flags member of the WiaAcquireFileEventArgs event argument to indicate the end of each page transfer.

Syntax

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

Example

Remarks

If the user acquired several pages at the same time, a separate event occurs for each page.

For more information, refer to How to Acquire from the WIA Source.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Vista, Windows Server 2003 family, Windows Server 2008 family

See Also