Leadtools.ImageProcessing.Effects Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.10
CenterOfMass Property
See Also 
Leadtools.ImageProcessing.Effects Namespace > ObjectInformationCommand Class : CenterOfMass Property




This property is updated with the object's center of mass.

Syntax

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

Return Value

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

Example

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also