NodeShape.CreateDefaultBounds Method (Double, Double)

 

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)

public virtual RectangleD CreateDefaultBounds(
	double x,
	double y
)

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.

Return to top
Show: