## IDevice.LineTo method

Appends a straight line segment from the current point to the point (pt). The new current point is pt.

```csharp
public void LineTo(PointF pt)
```

| Parameter | Type | Description |
| --- | --- | --- |
| pt | PointF | Point of where to create the line to. |

### See Also

* interface [IDevice](../)
* namespace [Aspose.Html.Rendering](../../../aspose.html.rendering/)
* assembly [Aspose.HTML](../../../)
