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



Occurs for each found supported transfer format of the currently selected WIA source after calling the Leadtools.Wia.WiaSession.EnumFormats method.

Syntax

Visual Basic (Declaration) 
Public Event EnumFormatsEvent As EventHandler(Of WiaEnumFormatsEventArgs)
Visual Basic (Usage)Copy Code
Dim instance As WiaSession
Dim handler As EventHandler(Of WiaEnumFormatsEventArgs)
 
AddHandler instance.EnumFormatsEvent, handler
C# 
public event EventHandler<WiaEnumFormatsEventArgs> EnumFormatsEvent
C++/CLI 
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 WiaSession.EnumFormatsEvent event.
TransferMode Gets the supported transfer mode for the enumerated format.

Example

Remarks

This event will be called while enumerating the selected WIA source supported transfer formats after calling the Leadtools.Wia.WiaSession.EnumFormats method to provide the user with information about each found transfer format 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