Spread Windows Forms 18
GrapeCity.Spreadsheet Assembly / GrapeCity.Drawing Namespace / Rectangle Structure / Rectangle Constructor / Rectangle Constructor(Point,Size)
The coordinates of the upper-left corner of the rectangle.
The size of the rectangle.


In This Topic
Rectangle Constructor(Point,Size)
In This Topic
Initializes a new instance of the Rectangle struct with the specified coordinates and size.
Syntax
'Declaration
 
Public Function New( _
   ByVal location As Point, _
   ByVal size As Size _
)
 
'Usage
 
Dim location As Point
Dim size As Size
 
Dim instance As New Rectangle(location, size)

Parameters

location
The coordinates of the upper-left corner of the rectangle.
size
The size of the rectangle.
See Also