Fills the interior of a rectangle specified by a Rect structure.

Namespace:  C1.Silverlight.Pdf
Assembly:  C1.Silverlight.Pdf (in C1.Silverlight.Pdf.dll)

Syntax

C#
public void FillRectangle(
	Color color,
	Rect rc
)
Visual Basic
Public Sub FillRectangle ( _
	color As Color, _
	rc As Rect _
)

Parameters

color
Type: System.Windows.Media..::..Color
Color object that determines the color used to fill the rectangle.
rc
Type: System.Windows..::..Rect
A Rect 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