Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Drawing Namespace / Rectangle Structure / Rectangle Constructor / Rectangle Constructor(Double,Double,Double,Double)
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
    Rectangle Constructor(Double,Double,Double,Double)
    In This Topic
    Initializes a new instance of the Rect struct with the specified coordinates.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal left As Double, _
       ByVal top As Double, _
       ByVal right As Double, _
       ByVal bottom As Double _
    )
    'Usage
     
    
    Dim left As Double
    Dim top As Double
    Dim right As Double
    Dim bottom As Double
     
    Dim instance As New Rectangle(left, top, right, bottom)
    public Rectangle( 
       double left,
       double top,
       double right,
       double 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