Input for WinForms | ComponentOne
C1.Win.Interop Namespace / Rect Structure / Rect Constructor / Rect Constructor(Point,Size)
The location (coordinates of the top left corner) of the rectangle.
The size of the rectangle.

In This Topic
    Rect Constructor(Point,Size)
    In This Topic
    Initializes a new instance of the Rect structure.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal location As Point, _
       ByVal size As Size _
    )
    public Rect( 
       Point location,
       Size size
    )

    Parameters

    location
    The location (coordinates of the top left corner) of the rectangle.
    size
    The size of the rectangle.
    See Also