Table of Contents

Method DrawLineTo

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

DrawLineTo(PdfPoint)

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

public void DrawLineTo(PdfPoint endpoint)

Parameters

endpoint 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.

DrawLineTo(double, double)

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

public void DrawLineTo(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.

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