Leadtools.ImageProcessing.Core Namespace > ObjectCounterCommand Class : ObjectCounter Event |
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
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.
Property | Description |
---|---|
ObjectData | Gets the two dimensional array corresponding to the location of the object pixels in the object rectangle. |
ObjectRectangle | Gets Object rectangle surrounding the object. |
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