NodeShape.CreateDefaultBounds Method
Creates default bounding rectangle for the shape.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
Public Overridable Function CreateDefaultBounds ( _
x As Double, _
y As Double _
) As RectangleD
public virtual RectangleD CreateDefaultBounds(
double x,
double y
)
public:
virtual RectangleD CreateDefaultBounds(
double x,
double y
)
abstract CreateDefaultBounds :
x:float *
y:float -> RectangleD
override CreateDefaultBounds :
x:float *
y:float -> RectangleD
public function CreateDefaultBounds(
x : double,
y : double
) : RectangleD
Parameters
x
Type: System.DoubleThe default x-coordinate for the bounding rectangle.
y
Type: System.DoubleThe default y-coordinate for the bounding rectangle.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
The default bounding rectangle for the shape.
.NET Framework Security
- 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.