IGeometryHost.TranslateGeometryToRelativeBounds Method
Translates a rectangle from absolute world coordinates to coordinates relative to the top-left of the IGeometryHost's parent.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaration
Function TranslateGeometryToRelativeBounds ( _
absoluteBounds As RectangleD _
) As RectangleD
RectangleD TranslateGeometryToRelativeBounds(
RectangleD absoluteBounds
)
RectangleD TranslateGeometryToRelativeBounds(
RectangleD absoluteBounds
)
abstract TranslateGeometryToRelativeBounds :
absoluteBounds:RectangleD -> RectangleD
function TranslateGeometryToRelativeBounds(
absoluteBounds : RectangleD
) : RectangleD
Parameters
- absoluteBounds
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
The rectangle in world units relative to the Diagram's top-left.
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.