
## __init__ {#}

Initializes a new instance of the [`LengthOrAuto`](/html/python-net/aspose.html.drawing/lengthorauto) class and sets state to 'auto'.



```python
def __init__(self):
    ...
```




## __init__ {#aspose.html.drawing.Length}

Initializes a new instance of the [`LengthOrAuto`](/html/python-net/aspose.html.drawing/lengthorauto) class and sets state to 'lenght'.



```python
def __init__(self, length):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| length | [`Length`](/html/python-net/aspose.html.drawing/length) | The length. |



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