Partager via


MoveableDecoratorHostShape.CalculateCenterLocation Method

Definition

Calculate the new location of the center of this host shape based on the location of the parent shape.

protected public:
 Microsoft::VisualStudio::Modeling::Diagrams::PointD CalculateCenterLocation();
protected internal Microsoft.VisualStudio.Modeling.Diagrams.PointD CalculateCenterLocation ();
member this.CalculateCenterLocation : unit -> Microsoft.VisualStudio.Modeling.Diagrams.PointD
Protected Friend Function CalculateCenterLocation () As PointD

Returns

The location of the center of this host shape.

Applies to