Share via


InkDrawingNode.Centroid Property

Gets the center point of the recognized shape.

Namespace:  Microsoft.Ink
Assembly:  Microsoft.Ink.Analysis (in Microsoft.Ink.Analysis.dll)

Syntax

'Declaration
Public ReadOnly Property Centroid As Point
'Usage
Dim instance As InkDrawingNode 
Dim value As Point 

value = instance.Centroid
public Point Centroid { get; }
public:
property Point Centroid {
    Point get ();
}
public function get Centroid () : Point

Property Value

Type: System.Drawing.Point
The center point of the recognized shape.

Remarks

For unrecognized shape am empty point (Point.Empty) is returned.

Platforms

Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

InkDrawingNode Class

InkDrawingNode Members

Microsoft.Ink Namespace