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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Syntax

'Declaration
Public Function TranslateGeometryToRelativeBounds ( _
    absoluteBounds As RectangleD _
) As RectangleD
public RectangleD TranslateGeometryToRelativeBounds(
    RectangleD absoluteBounds
)
public:
virtual RectangleD TranslateGeometryToRelativeBounds(
    RectangleD absoluteBounds
) sealed
abstract TranslateGeometryToRelativeBounds : 
        absoluteBounds:RectangleD -> RectangleD  
override TranslateGeometryToRelativeBounds : 
        absoluteBounds:RectangleD -> RectangleD
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

Microsoft.VisualStudio.Modeling.Diagrams Namespace