## Device<TGraphicContext,TRenderingOptions>.LineTo method

Appends a straight line segment from the current point to the point (pt). The new current point is pt.

```csharp
public virtual void LineTo(PointF pt)
```

| Parameter | Type | Description |
| --- | --- | --- |
| pt | PointF | Point of where to create the line to. |

### See Also

* class [Device&lt;TGraphicContext,TRenderingOptions&gt;](../)
* namespace [Aspose.Html.Rendering](../../../aspose.html.rendering/)
* assembly [Aspose.HTML](../../../)
