IGeometryHost.TranslateGeometryToRelativeBounds 方法

會轉譯為相對於左上方的 IGeometryHost 的父座標絕對的全局座標的矩形。

命名空間:  Microsoft.VisualStudio.Modeling.Diagrams
組件:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll 中)

語法

'宣告
Function TranslateGeometryToRelativeBounds ( _
    absoluteBounds As RectangleD _
) As RectangleD
RectangleD TranslateGeometryToRelativeBounds(
    RectangleD absoluteBounds
)

參數

傳回值

型別:Microsoft.VisualStudio.Modeling.Diagrams.RectangleD

.NET Framework 安全性

請參閱

參考

IGeometryHost 介面

Microsoft.VisualStudio.Modeling.Diagrams 命名空間