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

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

Parameters

color
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