NodeShape.CreateDefaultBounds(Double, Double) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.