PDF for UWP | ComponentOne
C1.Xaml.Pdf Namespace / C1PdfDocument Class / FillRectangle Method / FillRectangle(Color,Double,Double,Double,Double) Method
The color used to fill the rectangle.
x-coordinate of the upper-left corner of the rectangle to fill.
x-coordinate of the upper-left corner of the rectangle to fill.
Width of the rectangle to fill.
Height of the rectangle to fill.

In This Topic
    FillRectangle(Color,Double,Double,Double,Double) Method
    In This Topic
    Fills the interior of a rectangle specified by a coordinate pair, a width, and a height.
    Syntax
    'Declaration
     
    
    Public Overloads Sub FillRectangle( _
       ByVal color As Color, _
       ByVal x As Double, _
       ByVal y As Double, _
       ByVal width As Double, _
       ByVal height As Double _
    ) 
    public void FillRectangle( 
       Color color,
       double x,
       double y,
       double width,
       double height
    )

    Parameters

    color
    The color used to fill the rectangle.
    x
    x-coordinate of the upper-left corner of the rectangle to fill.
    y
    x-coordinate of the upper-left corner of the rectangle to fill.
    width
    Width of the rectangle to fill.
    height
    Height of the rectangle to fill.
    Remarks
    All coordinates are expressed in points, measured from the upper-left corner of the page.
    See Also