ComponentOne PDF for WPF and Silverlight
DrawLine(Pen,Point,Point) Method

C1.WPF.Pdf.4 Assembly > C1.WPF.Pdf Namespace > C1PdfDocument Class > DrawLine Method : DrawLine(Pen,Point,Point) Method
Pen object that determines the color, width, and style of the line.
The first point.
The second point.
Draws a line connecting two point structures.
Syntax
'Declaration
 
Public Overloads Sub DrawLine( _
   ByVal pen As Pen, _
   ByVal pt1 As Point, _
   ByVal pt2 As Point _
) 
public void DrawLine( 
   Pen pen,
   Point pt1,
   Point pt2
)

Parameters

pen
Pen object that determines the color, width, and style of the line.
pt1
The first point.
pt2
The second point.
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