MoveableDecoratorHostShape.CalculateCenterLocation 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
根据父形状的位置计算此主机形状的中心的新位置。
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
返回
此主机形状的中心位置。