PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.8 Assembly / C1.C1Preview Namespace / RenderRectangle Class / RenderRectangle Constructor / RenderRectangle Constructor(Unit,Unit,Unit,Unit)
The X coordinate of the rectangle, relative to the current object's location.
The Y coordinate of the rectangle, relative to the current object's location.
The width of the rectangle.
The height of the rectangle.

In This Topic
    RenderRectangle Constructor(Unit,Unit,Unit,Unit)
    In This Topic
    Initializes a new instance of the RenderRectangle class, assigning the location and the size of the rectangle.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal x As Unit, _
       ByVal y As Unit, _
       ByVal width As Unit, _
       ByVal height As Unit _
    )
    public RenderRectangle( 
       Unit x,
       Unit y,
       Unit width,
       Unit height
    )

    Parameters

    x
    The X coordinate of the rectangle, relative to the current object's location.
    y
    The Y coordinate of the rectangle, relative to the current object's location.
    width
    The width of the rectangle.
    height
    The height of the rectangle.
    See Also