Appends a straight line segment from the CurrentPosition to specified endpoint to the current path.

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

Syntax

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

Parameters

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

Remarks

The endpoint becomes new current point.

Note that the call to this method does not place any marks on the canvas; only the painting operators (StrokePath(), CloseAndStrokePath(), FillPath Overload, FillAndStrokePath Overload) do that.

Please use DrawLineTo Overload if you want to draw a line immediately.

See Also