LEADTOOLS WIA (Leadtools.Wia assembly)
LEAD Technologies, Inc

EnumCapabilitiesEvent Event






Occurs for each found capability of the currently selected WIA source after calling the EnumCapabilities method.
Syntax
public event EventHandler<WiaEnumCapabilitiesEventArgs> EnumCapabilitiesEvent
'Declaration
 
Public Event EnumCapabilitiesEvent As EventHandler(Of WiaEnumCapabilitiesEventArgs)
'Usage
 
Dim instance As WiaSession
Dim handler As EventHandler(Of WiaEnumCapabilitiesEventArgs)
 
AddHandler instance.EnumCapabilitiesEvent, handler
public event EventHandler<WiaEnumCapabilitiesEventArgs> EnumCapabilitiesEvent
add_EnumCapabilitiesEvent(function(sender, e))
remove_EnumCapabilitiesEvent(function(sender, e))

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 Leadtools.Wia.WiaSession.EnumCapabilitiesEvent event.
Remarks
This event will be called while enumerating the selected WIA source capabilities after calling the 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.
Example
Refer to WiaSession.EnumCapabilities.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

WiaSession Class
WiaSession Members
Startup Method
Shutdown Method
EnumCapabilities Method
EnumFormats Method

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.