IGeometryHost::TranslateGeometryToAbsoluteBounds Method (RectangleD)

 

Translates a rectangle from coordinates relative to the top-left of the IGeometryHost's parent to absolute world coordinates.

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

RectangleD TranslateGeometryToAbsoluteBounds(
	RectangleD relativeBounds
)

Parameters

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

The bounds of the geometry relative to the top-left of the IGeometryHost's parent to the top-left of the diagram.

Return to top
Show: