NodeShape.CreateDefaultBounds Method

Creates default bounding rectangle for the shape.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.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: Double

    The default x-coordinate for the bounding rectangle.

  • y
    Type: Double

    The 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

See Also

Reference

NodeShape Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace