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
- 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.