MoveableDecoratorHostShape.CalculateCenterLocation 方法
根據父圖案的位置,計算這個主機圖案中心點的新位置。
命名空間: Microsoft.VisualStudio.Modeling.Diagrams
組件: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll 中)
語法
'宣告
Protected Friend Function CalculateCenterLocation As PointD
protected internal PointD CalculateCenterLocation()
傳回值
類型:Microsoft.VisualStudio.Modeling.Diagrams.PointD
這個主機圖案的中心位置。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。