ComponentOne PDF for .NET
FillRectangle(Color,RectangleF,SizeF) Method

C1.C1Pdf.4 Assembly > C1.C1Pdf Namespace > C1PdfDocument Class > FillRectangle Method : FillRectangle(Color,RectangleF,SizeF) Method
The color used to fill the rectangle.
A rectangle structure that represents the rectangle to fill.
A size structure that contains the radius of the rectangle corners.
Fills the interior of a rounded rectangle specified by rectangle and size structures.
Syntax
'Declaration
 
Public Overloads Sub FillRectangle( _
   ByVal color As System.Drawing.Color, _
   ByVal rc As System.Drawing.RectangleF, _
   ByVal corners As System.Drawing.SizeF _
) 
public void FillRectangle( 
   System.Drawing.Color color,
   System.Drawing.RectangleF rc,
   System.Drawing.SizeF corners
)

Parameters

color
The color used to fill the rectangle.
rc
A rectangle structure that represents the rectangle to fill.
corners
A size structure that contains the radius of the rectangle corners.
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