LEADTOOLS WIA (Leadtools.Wia assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
EnumCapabilitiesEvent Event
See Also 
Leadtools.Wia Namespace > WiaSession Class : EnumCapabilitiesEvent Event



Occurs for each found capability of the currently selected WIA source after calling the WiaSession.EnumCapabilities method.

Syntax

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

Event Data

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

PropertyDescription
CapabilitiesCount Gets a count of the enumerated capabilities.
Capability Gets information about the enumerated capabilities of the selected WIA item.
Stop Enables or disables firing the WiaSession.EnumCapabilitiesEvent event.

Example

Remarks

This event will be called while enumerating the selected WIA source capabilities after calling the WiaSession.EnumCapabilities method to provide the user with information about each found capability and the found capabilities count and also gives the ability to abort the enumeration process.

Requirements

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

See Also