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)
Syntax
声明
Public ReadOnly Property AbsoluteCenter As PointD
Get
public PointD AbsoluteCenter { get; }
public:
property PointD AbsoluteCenter {
PointD get ();
}
member AbsoluteCenter : PointD
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.