Draws a line connecting two Point structures.

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

Syntax

C#
public void DrawLine(
	Pen pen,
	Point pt1,
	Point pt2
)
Visual Basic
Public Sub DrawLine ( _
	pen As Pen, _
	pt1 As Point, _
	pt2 As Point _
)

Parameters

pen
Type: C1.Silverlight.Pdf..::..Pen
Pen object that determines the color, width, and style of the line.
pt1
Type: System.Windows..::..Point
The first point.
pt2
Type: System.Windows..::..Point
The second point.

Remarks

All coordinates are expressed in points, measured from the upper-left corner of the page.

See Also