IGeometryHost.TranslateGeometryToRelativeBounds 方法

将绝对世界坐标的矩形转换为相对 IGeometryHost 父级左上角的坐标。

命名空间:  Microsoft.VisualStudio.Modeling.Diagrams
程序集:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0(在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.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 命名空间