Export (0) Print
Expand All
Expand Minimize

ShapeElement.TranslateGeometryToAbsoluteBounds Method

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

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

public RectangleD TranslateGeometryToAbsoluteBounds(
	RectangleD relativeBounds
)

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.

Implements

IGeometryHost.TranslateGeometryToAbsoluteBounds(RectangleD)

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.

Show:
© 2015 Microsoft