EnumItemsEvent Event

Summary
Occurs for each found WIA child item after calling the EnumChildItems method.
Syntax
C#
VB
C++
public event EventHandler<WiaEnumItemsEventArgs> EnumItemsEvent 
  
Public Event EnumItemsEvent As EventHandler(Of WiaEnumItemsEventArgs) 
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 EnumItemsEvent event.
Remarks

This event will be called while enumerating the WIA child items for the parent item passed through the call to the EnumChildItems method to provide the user with a handle for each found child item and also gives the ability to abort the enumeration process.

Example

Refer to WiaSession.GetRootItem.Refer to WiaSession.GetRootItem.

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.