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

EnumFormatsEvent Event






Occurs for each found supported transfer format of the currently selected WIA source after calling the EnumFormats method.
Syntax
public event EventHandler<WiaEnumFormatsEventArgs> EnumFormatsEvent
'Declaration
 
Public Event EnumFormatsEvent As EventHandler(Of WiaEnumFormatsEventArgs)
'Usage
 
Dim instance As WiaSession
Dim handler As EventHandler(Of WiaEnumFormatsEventArgs)
 
AddHandler instance.EnumFormatsEvent, handler
public event EventHandler<WiaEnumFormatsEventArgs> EnumFormatsEvent
add_EnumFormatsEvent(function(sender, e))
remove_EnumFormatsEvent(function(sender, e))

public:
event EventHandler<WiaEnumFormatsEventArgs^>^ EnumFormatsEvent
Event Data

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

PropertyDescription
Format Gets the enumerated format.
FormatsCount Gets the count of the formats being enumerated.
Stop Enables or disables firing the Leadtools.Wia.WiaSession.EnumFormatsEvent event.
TransferMode Gets the supported transfer mode for the enumerated format.
Remarks
This event will be called while enumerating the selected WIA source supported transfer formats after calling the EnumFormats method to provide the user with information about each found transfer format and also gives the ability to abort the enumeration process.
Example
Refer to WiaSession.EnumFormats.Refer to WiaSession.EnumFormats.
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
EnumFormats Method
EnumCapabilities Method

 

 


Products | Support | Contact Us | Copyright Notices

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