PdfCanvas.DrawLineTo Method (PdfPoint)

Draws a straight line segment from the CurrentPosition to specified endpoint.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public void DrawLineTo(
	PdfPoint endpoint
)
VB
Public Sub DrawLineTo ( 
	endpoint As PdfPoint
)

Parameters

endpoint
Type: BitMiracle.Docotic.Pdf.PdfPoint
The endpoint.

Remarks

The endpoint becomes new current point.

Please use AppendLineTo() if you want to append a line segment to the current path.

See Also