EnumFormatsEvent Event

Summary
Occurs for each found supported transfer format of the currently selected WIA source after calling the EnumFormats method.
Syntax
C#
VB
C++
public event EventHandler<WiaEnumFormatsEventArgs> EnumFormatsEvent 
  
Public Event EnumFormatsEvent As EventHandler(Of WiaEnumFormatsEventArgs) 
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

Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Wia Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.