LEADTOOLS WIA (Leadtools.Wia assembly)

EnumFormatsEvent Event

Show in webframe





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
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 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

See Also

Reference

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

 

 


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