←Select platform

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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Wia Assembly