ComponentOne Word for WinForms
C1.C1Word.4.5.2 Assembly / C1.C1Word Namespace / C1WordDocument Class / FillRectangle Method / FillRectangle(Color,Single,Single,Single,Single) Method
The drawing color.
The x (top-left corner) coordinate.
The y (top-left corner) coordinate.
The width of the rectangle.
The height of the rectangle.

In This Topic
    FillRectangle(Color,Single,Single,Single,Single) Method
    In This Topic
    Fill rectangle from this document.
    Syntax
    'Declaration
     
    Public Overloads Sub FillRectangle( _
       ByVal clr As System.Drawing.Color, _
       ByVal x As System.Single, _
       ByVal y As System.Single, _
       ByVal width As System.Single, _
       ByVal height As System.Single _
    ) 
    public void FillRectangle( 
       System.Drawing.Color clr,
       System.float x,
       System.float y,
       System.float width,
       System.float height
    )

    Parameters

    clr
    The drawing color.
    x
    The x (top-left corner) coordinate.
    y
    The y (top-left corner) coordinate.
    width
    The width of the rectangle.
    height
    The height of the rectangle.
    See Also