---
title: "from_seconds method"
url: "https://reference.aspose.com/svg/python-net/aspose.svg.drawing/lengthorauto/from_seconds/"
product: "Aspose.SVG for Python via .NET API References"
---


## from_seconds {#float}

Returns a [`Time`](/svg/python-net/aspose.svg.drawing/time) object that is represented in seconds.


### Returns 


Returns a [`Time`](/svg/python-net/aspose.svg.drawing/time) object.


```python
def from_seconds(self, value):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| value | float | The value. |



### See Also
* module [`aspose.svg.drawing`](../../)
* class [`LengthOrAuto`](/svg/python-net/aspose.svg.drawing/lengthorauto)
* class [`Time`](/svg/python-net/aspose.svg.drawing/time)
