Draws a rounded rectangle specified by Rect and Size structures.

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

Syntax

C#
public void DrawRectangle(
	Pen pen,
	Rect rc,
	Size corners
)
Visual Basic
Public Sub DrawRectangle ( _
	pen As Pen, _
	rc As Rect, _
	corners As Size _
)

Parameters

pen
Type: C1.Silverlight.Pdf..::..Pen
Pen object that determines the color, width, and style of the rectangle.
rc
Type: System.Windows..::..Rect
A Rect structure that represents the rectangle to draw.
corners
Type: System.Windows..::..Size
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