| 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
Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)