LEADTOOLS Image Processing (Leadtools.ImageProcessing.Core assembly)
LEAD Technologies, Inc

ObjectCounter Event






Optional delegate method for additional processing. .NET support
Syntax
public event EventHandler<ObjectCounterCommandEventArgs> ObjectCounter
'Declaration
 
Public Event ObjectCounter As EventHandler(Of ObjectCounterCommandEventArgs)
'Usage
 
Dim instance As ObjectCounterCommand
Dim handler As EventHandler(Of ObjectCounterCommandEventArgs)
 
AddHandler instance.ObjectCounter, handler
public event EventHandler<ObjectCounterCommandEventArgs> ObjectCounter
add_ObjectCounter(function(sender, e))
remove_ObjectCounter(function(sender, e))

public:
event EventHandler<ObjectCounterCommandEventArgs^>^ ObjectCounter
Event Data

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

PropertyDescription
ObjectData Gets the two dimensional array corresponding to the location of the object pixels in the object rectangle. .NET support
ObjectRectangle Gets Object rectangle surrounding the object. .NET support
Example
Refer to ObjectCounterCommand.
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

ObjectCounterCommand Class
ObjectCounterCommand Members

 

 


Products | Support | Contact Us | Copyright Notices

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