LEADTOOLS WIA (Leadtools.Wia assembly)
LEAD Technologies, Inc

EnumItemsEvent Event






Occurs for each found WIA child item after calling the EnumChildItems method.
Syntax
public event EventHandler<WiaEnumItemsEventArgs> EnumItemsEvent
'Declaration
 
Public Event EnumItemsEvent As EventHandler(Of WiaEnumItemsEventArgs)
'Usage
 
Dim instance As WiaSession
Dim handler As EventHandler(Of WiaEnumItemsEventArgs)
 
AddHandler instance.EnumItemsEvent, handler
public event EventHandler<WiaEnumItemsEventArgs> EnumItemsEvent
add_EnumItemsEvent(function(sender, e))
remove_EnumItemsEvent(function(sender, e))

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 Leadtools.Wia.WiaSession.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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

WiaSession Class
WiaSession Members
Startup Method
Shutdown Method
EnumChildItems Method
GetRootItem Method
FreeItem Method
GetProperties Method
SetProperties Method

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.