
## line_to {#aspose.pydrawing.PointF}

Appends a straight line segment from the current point to the point (pt). The new current point is pt.



```python
def line_to(self, pt):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| pt | aspose.pydrawing.PointF | Point of where to create the line to. |



### See Also
* module [`aspose.html.rendering.doc`](../../)
* class [`DocDevice`](/html/python-net/aspose.html.rendering.doc/docdevice)
