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

'Declaração
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

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD

.NET Framework Security

See Also

Reference

IGeometryHost Interface

Microsoft.VisualStudio.Modeling.Diagrams Namespace