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(
double x,
double y
)
VB
Public Sub DrawLineTo (
x As Double,
y As Double
)
Parameters
- x
- Type: System.Double
The x-coordinate of the endpoint. - y
- Type: System.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.
See Also