Click or drag to resize

PdfCanvas DrawLine Method (PdfPen, PointF, PointF)

Draws a line.

Namespace: Spire.Pdf.Graphics
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public void DrawLine(
	PdfPen pen,
	PointF point1,
	PointF point2
)

Parameters

pen
Type: Spire.Pdf.Graphics PdfPen
The pen.
point1
Type: System.Drawing PointF
The point1.
point2
Type: System.Drawing PointF
The point2.
See Also