Spread WinForms 15
GrapeCity.Spreadsheet Assembly / GrapeCity.Drawing Namespace / Rect Structure / Rect Constructor
The x-coordinate of the upper-left corner of the rectangle.
The y-coordinate of the upper-left corner of the rectangle.
The x-coordinate of the lower-right corner of the rectangle.
The y-coordinate of the lower-right corner of the rectangle.


In This Topic
Rect Constructor
In This Topic
Initializes a new instance of the Rect struct with the specified coordinates.
Syntax
'Declaration
 
Public Function New( _
   ByVal left As Integer, _
   ByVal top As Integer, _
   ByVal right As Integer, _
   ByVal bottom As Integer _
)
 
'Usage
 
Dim left As Integer
Dim top As Integer
Dim right As Integer
Dim bottom As Integer
 
Dim instance As New Rect(left, top, right, bottom)

Parameters

left
The x-coordinate of the upper-left corner of the rectangle.
top
The y-coordinate of the upper-left corner of the rectangle.
right
The x-coordinate of the lower-right corner of the rectangle.
bottom
The y-coordinate of the lower-right corner of the rectangle.
See Also