IGeometryHost.TranslateGeometryToAbsoluteBounds(RectangleD) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Translates a rectangle from coordinates relative to the top-left of the IGeometryHost's parent to absolute world coordinates.
public:
Microsoft::VisualStudio::Modeling::Diagrams::RectangleD TranslateGeometryToAbsoluteBounds(Microsoft::VisualStudio::Modeling::Diagrams::RectangleD relativeBounds);
public Microsoft.VisualStudio.Modeling.Diagrams.RectangleD TranslateGeometryToAbsoluteBounds (Microsoft.VisualStudio.Modeling.Diagrams.RectangleD relativeBounds);
abstract member TranslateGeometryToAbsoluteBounds : Microsoft.VisualStudio.Modeling.Diagrams.RectangleD -> Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
Public Function TranslateGeometryToAbsoluteBounds (relativeBounds As RectangleD) As RectangleD
Parameters
- relativeBounds
- RectangleD
The bounds of the geometry relative to the top-left of the IGeometryHost's parent to the top-left of the diagram.
Returns
The absolute bounds of the geometry.