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



objectrectangle
Rectangle surrounding the object.
objectdata
Two dimension array containing the location of the pixels belonging to the object. Elements in the array with value 1 belong to the object, otherwise they do not
Initializes a new ObjectCounterCommandEventArgs with explicit parameters.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal objectrectangle As LeadRect, _
   ByVal objectdata() As Integer _
)
Visual Basic (Usage)Copy Code
Dim objectrectangle As LeadRect
Dim objectdata() As Integer
 
Dim instance As New ObjectCounterCommandEventArgs(objectrectangle, objectdata)
C# 
public ObjectCounterCommandEventArgs( 
   LeadRect objectrectangle,
   int[] objectdata
)
C++/CLI 
public:
ObjectCounterCommandEventArgs( 
   LeadRect objectrectangle,
   array<int>^ objectdata
)

Parameters

objectrectangle
Rectangle surrounding the object.
objectdata
Two dimension array containing the location of the pixels belonging to the object. Elements in the array with value 1 belong to the object, otherwise they do not

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