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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
'Declaration
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
)
location
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointDA PointD that represents the upper-left corner of the rectangular region.
size
Type: Microsoft.VisualStudio.Modeling.Diagrams.SizeDA SizeF that represents the width and height of the rectangular region.
- 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.