次の方法で共有


ShapeElement.TranslateGeometryToAbsoluteBounds メソッド

図形のジオメトリの相対境界を絶対境界に変換します。

名前空間:  Microsoft.VisualStudio.Modeling.Diagrams
アセンブリ:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll 内)

構文

'宣言
Public Function TranslateGeometryToAbsoluteBounds ( _
    relativeBounds As RectangleD _
) As RectangleD
public RectangleD TranslateGeometryToAbsoluteBounds(
    RectangleD relativeBounds
)

パラメーター

戻り値

型 : Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
図形のジオメトリの絶対境界。

実装

IGeometryHost.TranslateGeometryToAbsoluteBounds(RectangleD)

解説

相対位置には親シェイプと左の点の間の距離を測定します。 絶対位置にはダイアグラムの図形と左の点の間の距離を測定します。

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

関連項目

ShapeElement クラス

Microsoft.VisualStudio.Modeling.Diagrams 名前空間