Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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)
Syntax
'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
)
Parameters
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.
.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.