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



Occurs for each found WIA device after calling the WiaSession.EnumDevices method.

Syntax

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

Example

Remarks

This event will be called while enumerating the available WIA devices after calling the WiaSession.EnumDevices method to provide the user with information about each found device and also gives the ability to abort the enumeration process.

Requirements

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

See Also