ComponentOne PDF for .NET
FillRectangle(Brush,RectangleF) Method

C1.C1Pdf.4 Assembly > C1.C1Pdf Namespace > C1PdfDocument Class > FillRectangle Method : FillRectangle(Brush,RectangleF) Method
The object that determines the color used to fill the rectangle.
A rectangle structure that represents the rectangle to fill.
Fills the interior of a rectangle specified by a rectangle structure.
Syntax
'Declaration
 
Public Overloads Sub FillRectangle( _
   ByVal brush As System.Drawing.Brush, _
   ByVal rc As System.Drawing.RectangleF _
) 
public void FillRectangle( 
   System.Drawing.Brush brush,
   System.Drawing.RectangleF rc
)

Parameters

brush
The object that determines the color used to fill the rectangle.
rc
A rectangle structure that represents the rectangle to fill.
Remarks
All coordinates are expressed in points, measured from the upper-left corner of the page.
See Also

Reference

C1PdfDocument Class
C1PdfDocument Members
Overload List