Compartilhar via


NodeShape.CreateDefaultBounds Method

Creates default bounding rectangle for the shape.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Declaração
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.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.RectangleD
The default bounding rectangle for the shape.

.NET Framework Security

See Also

Reference

NodeShape Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace