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



Occurs for each found WIA child item after calling the Leadtools.Wia.WiaSession.EnumChildItems method.

Syntax

Visual Basic (Declaration) 
Public Event EnumItemsEvent As EventHandler(Of WiaEnumItemsEventArgs)
Visual Basic (Usage)Copy Code
Dim instance As WiaSession
Dim handler As EventHandler(Of WiaEnumItemsEventArgs)
 
AddHandler instance.EnumItemsEvent, handler
C# 
public event EventHandler<WiaEnumItemsEventArgs> EnumItemsEvent
C++/CLI 
public:
event EventHandler<WiaEnumItemsEventArgs^>^ EnumItemsEvent

Event Data

The event handler receives an argument of type WiaEnumItemsEventArgs containing data related to this event. The following WiaEnumItemsEventArgs properties provide information specific to this event.

PropertyDescription
Item Gets the enumerated item.
ItemsCount Gets the count of the items being enumerated.
Stop Enables or disables firing the WiaSession.EnumItemsEvent event.

Example

Remarks

This event will be called while enumerating the WIA child items for the parent item passed through the call to the Leadtools.Wia.WiaSession.EnumChildItems method to provide the user with a handle for each found child item 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