Table of Contents

Method AppendLineTo

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

AppendLineTo(PdfPoint)

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

public void AppendLineTo(PdfPoint endpoint)

Parameters

endpoint 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, FillAndStrokePath) do that.

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

AppendLineTo(double, double)

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

public void AppendLineTo(double x, double y)

Parameters

x double

The x-coordinate of the endpoint.

y double

The y-coordinate of 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, FillAndStrokePath) do that.

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