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(
	PointF endpoint
)
VB
Public Sub DrawLineTo ( 
	endpoint As PointF
)

Parameters

endpoint
Type: System.Drawing.PointF
The endpoint.

Remarks

The endpoint becomes new current point.

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

See Also