ShapeElement.TranslateToAbsoluteBounds(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 parent shape to absolute world coordinates.
public:
Microsoft::VisualStudio::Modeling::Diagrams::RectangleD TranslateToAbsoluteBounds(Microsoft::VisualStudio::Modeling::Diagrams::RectangleD relativeBounds);
public Microsoft.VisualStudio.Modeling.Diagrams.RectangleD TranslateToAbsoluteBounds (Microsoft.VisualStudio.Modeling.Diagrams.RectangleD relativeBounds);
member this.TranslateToAbsoluteBounds : Microsoft.VisualStudio.Modeling.Diagrams.RectangleD -> Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
Public Function TranslateToAbsoluteBounds (relativeBounds As RectangleD) As RectangleD
Parameters
- relativeBounds
- RectangleD
The rectangle in world units relative to the parent ShapeElement's top-left corner.
Returns
The rectangle relative to the Diagram's top-left corner.