NodeShape.CreateDefaultBounds Method
Creates default bounding rectangle for the shape.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Parameters
- x
- Type: System.Double
The default x-coordinate for the bounding rectangle.
- y
- Type: System.Double
The default y-coordinate for the bounding rectangle.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleDThe default bounding rectangle 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.