IGeometryHost.TranslateGeometryToRelativeBounds(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 absolute world coordinates to coordinates relative to the top-left of the IGeometryHost's parent.
public:
Microsoft::VisualStudio::Modeling::Diagrams::RectangleD TranslateGeometryToRelativeBounds(Microsoft::VisualStudio::Modeling::Diagrams::RectangleD absoluteBounds);
public Microsoft.VisualStudio.Modeling.Diagrams.RectangleD TranslateGeometryToRelativeBounds (Microsoft.VisualStudio.Modeling.Diagrams.RectangleD absoluteBounds);
abstract member TranslateGeometryToRelativeBounds : Microsoft.VisualStudio.Modeling.Diagrams.RectangleD -> Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
Public Function TranslateGeometryToRelativeBounds (absoluteBounds As RectangleD) As RectangleD
Parameters
- absoluteBounds
- RectangleD
The rectangle in world units relative to the Diagram's top-left.
Returns
The rectangle relative to the top-left of the IGeometryHost's parent.