This topic has not yet been rated - Rate this topic

ShapeElement.AbsoluteCenter Property

Gets the point in the center of the shape.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
public PointD AbsoluteCenter { get; }

Property Value

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

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

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ