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 |
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.
Property | Description |
---|---|
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. |
Refer to WiaSession.EnumFormats.Refer to WiaSession.EnumFormats.
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.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7