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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

public:
RectangleD(
	PointD location,
	SizeD size
)

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.

Return to top
Show: