Share via


ShapeElement.Center Property

Gets the point in the center of the shape.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Syntax

'Declaration
Public ReadOnly Property Center As PointD
public PointD Center { get; }
public:
property PointD Center {
    PointD get ();
}
member Center : PointD with get
function get Center () : PointD

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD
The point in the center of the bounds for the shape.

Remarks

The bounds for the shape determine where center of the shape is.

.NET Framework Security

See Also

Reference

ShapeElement Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace