LEADTOOLS WIA (Leadtools.Wia assembly)

EnumDevicesEvent Event

Show in webframe





Occurs for each found WIA device after calling the EnumDevices method.
Syntax
public event EventHandler<WiaEnumDevicesEventArgs> EnumDevicesEvent
'Declaration
 
Public Event EnumDevicesEvent As EventHandler(Of WiaEnumDevicesEventArgs)
'Usage
 
Dim instance As WiaSession
Dim handler As EventHandler(Of WiaEnumDevicesEventArgs)
 
AddHandler instance.EnumDevicesEvent, handler

            

            
public:
event EventHandler<WiaEnumDevicesEventArgs^>^ EnumDevicesEvent
Event Data

The event handler receives an argument of type WiaEnumDevicesEventArgs containing data related to this event. The following WiaEnumDevicesEventArgs properties provide information specific to this event.

PropertyDescription
DeviceDesc Gets the description of the device being enumerated.
DeviceID Gets the ID string for the enumerated device.
DeviceName Gets the name of the enumerated device.
Stop Enables or disables firing the EnumDevicesEvent event.
Remarks
This event will be called while enumerating the available WIA devices after calling the EnumDevices method to provide the user with information about each found device and also gives the ability to abort the enumeration process.
Example
Refer to WiaSession.EnumDevices.
Requirements

Target Platforms

See Also

Reference

WiaSession Class
WiaSession Members
Startup Method
Shutdown Method
EnumDevices Method
SelectDevice Method
SelectDeviceDlg Method

 

 


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