ShapeElement::TranslateGeometryToAbsoluteBounds Method (RectangleD)
Visual Studio 2015
Converts the relative bounds to absolute bounds for the shape's geometry.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
public: virtual RectangleD TranslateGeometryToAbsoluteBounds( RectangleD relativeBounds ) sealed
Parameters
- relativeBounds
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::RectangleD
The relative bounds for the shape's geometry.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams::RectangleDThe absolute bounds for the shape's geometry.
Relative bounds measure the distance between the shape and the top-left point of its parent. Absolute bounds measure the distance between the shape and the top-left point of the diagram.
Show: