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



This property is updated with the object's center of mass. Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property CenterOfMass As LeadPoint
Visual Basic (Usage)Copy Code
Dim instance As ObjectInformationCommand
Dim value As LeadPoint
 
value = instance.CenterOfMass
C# 
public LeadPoint CenterOfMass {get;}
C++/CLI 
public:
property LeadPoint CenterOfMass {
   LeadPoint get();
}

Property Value

LeadPoint structure that is updated with the object's center of mass.

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