Delen via


MoveableDecoratorHostShape.CalculateCenterLocation Method

Calculate the new location of the center of this host shape based on the location of the parent 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
Protected Friend Function CalculateCenterLocation As PointD
protected internal PointD CalculateCenterLocation()
protected public:
PointD CalculateCenterLocation()
member CalculateCenterLocation : unit -> PointD
function CalculateCenterLocation() : PointD

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD
The location of the center of this host shape.

.NET Framework Security

See Also

Reference

MoveableDecoratorHostShape Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace