PrintDocument for WPF | ComponentOne
C1.WPF.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / RenderRectangle Class / RenderRectangle Constructor / RenderRectangle Constructor(Unit,Unit)
The width of the rectangle.
The height of the rectangle.

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

    Parameters

    width
    The width of the rectangle.
    height
    The height of the rectangle.
    See Also