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 |
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.
Property | Description |
---|---|
Item | Gets the enumerated item. |
ItemsCount | Gets the count of the items being enumerated. |
Stop | Enables or disables firing the WiaSession.EnumItemsEvent event. |
Refer to WiaSession.GetRootItem.Refer to WiaSession.GetRootItem.
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.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7