Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
'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: 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.