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