ShapeElement::TranslateGeometryToAbsoluteBounds Method (RectangleD)

 

Converts the relative bounds to absolute 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)

public:
virtual RectangleD TranslateGeometryToAbsoluteBounds(
	RectangleD relativeBounds
) sealed

Parameters

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

The relative bounds for the shape's geometry.

Return Value

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

The absolute bounds for the shape's geometry.

Relative bounds measure the distance between the shape and the top-left point of its parent. Absolute bounds measure the distance between the shape and the top-left point of the diagram.

Return to top
Show: