親シェイプの位置に基づいてこのホストの図形の中央の新しい位置を計算します。
名前空間: Microsoft.VisualStudio.Modeling.Diagrams
アセンブリ: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll 内)
構文
'宣言
Protected Friend Function CalculateCenterLocation As PointD
protected internal PointD CalculateCenterLocation()
戻り値
型 : Microsoft.VisualStudio.Modeling.Diagrams.PointD
このホストの図形の中央の場所。
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。