RectangleD Constructor (PointD, SizeD)
Initializes a new instance of the RectangleD class with the specified location and size.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Dichiarazione
Public Sub New ( _
location As PointD, _
size As SizeD _
)
public RectangleD(
PointD location,
SizeD size
)
public:
RectangleD(
PointD location,
SizeD size
)
new :
location:PointD *
size:SizeD -> RectangleD
public function RectangleD(
location : PointD,
size : SizeD
)
Parameters
- location
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD
A PointD that represents the upper-left corner of the rectangular region.
- size
Type: Microsoft.VisualStudio.Modeling.Diagrams.SizeD
A SizeF that represents the width and height of the rectangular region.
.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.