ComponentOne PDF for WPF and Silverlight
FillRectangle(Color,Rect,Size) Method

C1.WPF.Pdf.4 Assembly > C1.WPF.Pdf Namespace > C1PdfDocument Class > FillRectangle Method : FillRectangle(Color,Rect,Size) 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 Color, _
   ByVal rc As Rect, _
   ByVal corners As Size _
) 
public void FillRectangle( 
   Color color,
   Rect rc,
   Size 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