Share via


ShapeElement.AbsoluteCenter Property

Gets the point in the center of the shape.

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

Syntax

'Declaration
Public ReadOnly Property AbsoluteCenter As PointD
'Usage
Dim instance As ShapeElement 
Dim value As PointD 

value = instance.AbsoluteCenter
public PointD AbsoluteCenter { get; }
public:
property PointD AbsoluteCenter {
    PointD get ();
}
public function get AbsoluteCenter () : PointD

Property Value

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

Remarks

The absolute bounds for the shape are used to calculate the absolute center of the shape.

.NET Framework Security

See Also

Reference

ShapeElement Class

ShapeElement Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace