ShapeElement.TranslateToRelativeBounds Method
Converts the absolute bounds to relative bounds for the shape.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Parameters
- absoluteBounds
- Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
The absolute bounds for the shape.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleDThe relative bounds for the shape.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.