LEADTOOLS Image Processing (Leadtools.ImageProcessing.Core assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
ObjectCounter Event
See Also 
Leadtools.ImageProcessing.Core Namespace > ObjectCounterCommand Class : ObjectCounter Event



Optional delegate method for additional processing.

Syntax

Visual Basic (Declaration) 
Public Event ObjectCounter As EventHandler(Of ObjectCounterCommandEventArgs)
Visual Basic (Usage)Copy Code
Dim instance As ObjectCounterCommand
Dim handler As EventHandler(Of ObjectCounterCommandEventArgs)
 
AddHandler instance.ObjectCounter, handler
C# 
public event EventHandler<ObjectCounterCommandEventArgs> ObjectCounter
C++/CLI 
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.
ObjectRectangle Gets Object rectangle surrounding the object.

Example

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also