IGeometryHost.TranslateGeometryToAbsoluteBounds Method
Translates a rectangle from coordinates relative to the top-left of the IGeometryHost's parent to absolute world coordinates.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
Function TranslateGeometryToAbsoluteBounds ( _
relativeBounds As RectangleD _
) As RectangleD
RectangleD TranslateGeometryToAbsoluteBounds(
RectangleD relativeBounds
)
RectangleD TranslateGeometryToAbsoluteBounds(
RectangleD relativeBounds
)
abstract TranslateGeometryToAbsoluteBounds :
relativeBounds:RectangleD -> RectangleD
function TranslateGeometryToAbsoluteBounds(
relativeBounds : RectangleD
) : RectangleD
Parameters
relativeBounds
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleDThe bounds of the geometry relative to the top-left of the IGeometryHost's parent to the top-left of the diagram.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.