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. |