ShapeElement.TranslateGeometryToRelativeBounds Method

Converts the absolute bounds to relative bounds for the shape's geometry.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)

Syntax

'Declaration
Public Function TranslateGeometryToRelativeBounds ( _
    absoluteBounds As RectangleD _
) As RectangleD
'Usage
Dim instance As ShapeElement 
Dim absoluteBounds As RectangleD 
Dim returnValue As RectangleD 

returnValue = instance.TranslateGeometryToRelativeBounds(absoluteBounds)
public RectangleD TranslateGeometryToRelativeBounds(
    RectangleD absoluteBounds
)
public:
virtual RectangleD TranslateGeometryToRelativeBounds(
    RectangleD absoluteBounds
) sealed
public final function TranslateGeometryToRelativeBounds(
    absoluteBounds : RectangleD
) : RectangleD

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
The relative bounds for the shape's geometry.

Implements

IGeometryHost.TranslateGeometryToRelativeBounds(RectangleD)

.NET Framework Security

See Also

Reference

ShapeElement Class

ShapeElement Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace