ComponentOne Word for UWP
C1.UWP.Word Assembly / C1.Xaml.Word Namespace / C1WordDocument Class / FillRectangle Method / FillRectangle(Color,Double,Double,Double,Double) 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,Double,Double,Double,Double) Method
    In This Topic
    Fill rectangle from this document.
    Syntax
    'Declaration
     
    Public Overloads Sub FillRectangle( _
       ByVal clr As Color, _
       ByVal x As Double, _
       ByVal y As Double, _
       ByVal width As Double, _
       ByVal height As Double _
    ) 
    public void FillRectangle( 
       Color clr,
       double x,
       double y,
       double width,
       double 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