ShapeElement::TranslateToRelativeBounds Method (RectangleD)

 

Converts the absolute bounds to relative bounds for the shape.

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

public:
RectangleD TranslateToRelativeBounds(
	RectangleD absoluteBounds
)

Parameters

absoluteBounds
Type: Microsoft.VisualStudio.Modeling.Diagrams::RectangleD

The absolute bounds for the shape.

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams::RectangleD

The relative bounds for the shape.

Return to top
Show: