Draws a line.

Namespace: Spire.Pdf.Graphics
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 6.2.6.0 (6.2.6.2020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public void DrawLine(
	PdfPen pen,
	PointF point1,
	PointF point2
)
Public Sub DrawLine ( 
	pen As PdfPen,
	point1 As PointF,
	point2 As PointF
)
public:
void DrawLine(
	PdfPen^ pen, 
	PointF point1, 
	PointF point2
)
member DrawLine : 
        pen : PdfPen * 
        point1 : PointF * 
        point2 : PointF -> unit 

Parameters

pen
PdfPen
The pen.
point1
PointF
The point1.
point2
PointF
The point2.

See Also