Draws a rectangle specified by a Rect structure.
Namespace:
C1.Silverlight.PdfAssembly: C1.Silverlight.Pdf (in C1.Silverlight.Pdf.dll)
Syntax
C# |
---|
public void DrawRectangle( Pen pen, Rect rc ) |
Visual Basic |
---|
Public Sub DrawRectangle ( _ pen As Pen, _ rc As Rect _ ) |
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.
Remarks
All coordinates are expressed in points, measured from the upper-left corner of the page.