Leadtools.Wia Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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 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();

Example

Remarks

This event will be called while enumerating the selected WIA source supported transfer formats after calling the 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 3.0, Windows 2000, Windows XP, Windows Vista, Windows Server 2003 family, Windows Server 2008 family

See Also