Partager via


NodeShape.CreateDefaultBounds(Double, Double) Method

Definition

Creates and returns a default Bounds that can used by the NodeShape.

public:
 virtual Microsoft::VisualStudio::Modeling::Diagrams::RectangleD CreateDefaultBounds(double x, double y);
public virtual Microsoft.VisualStudio.Modeling.Diagrams.RectangleD CreateDefaultBounds (double x, double y);
abstract member CreateDefaultBounds : double * double -> Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
override this.CreateDefaultBounds : double * double -> Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
Public Overridable Function CreateDefaultBounds (x As Double, y As Double) As RectangleD

Parameters

x
Double

The suggested X position of the bounds.

y
Double

The suggested Y position of the bounds.

Returns

A RectangleD defining the default bounds of the NodeShape.

Applies to