IGeometryHost::TranslateGeometryToRelativeBounds Method (RectangleD)

 

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

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

RectangleD TranslateGeometryToRelativeBounds(
	RectangleD absoluteBounds
)

Parameters

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

The rectangle in world units relative to the Diagram's top-left.

Return to top
Show: