Link Search Menu Expand Document

CanvasDrawLine Method (Pen, PointF, PointF)

Draws a line connecting two System.Drawing.PointF structures.

Namespace:Bytescout.PDF
Assembly: Bytescout.PDF (in Bytescout.PDF.dll) Version: 3.5.1.1204-master
Syntax
public void DrawLine(
	Pen pen,
	PointF pt1,
	PointF pt2
)

Parameters

pen
Type: Bytescout.PDFPen
Bytescout.PDF.Pen that determines the color, width, and style of the line.
pt1
Type: System.DrawingPointF
System.Drawing.PointF structure that represents the first point to connect.
pt2
Type: System.DrawingPointF
System.Drawing.PointF structure that represents the second point to connect.
See Also

Reference