
## __init__ {#}

Constructs a new instance of TextSpan



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




## __init__ {#int-int}

Create the TextSpan



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


| Parameter | Type | Description |
| :- | :- | :- |
| start | int | The start. |
| length | int | The length. |
### Exceptions
| Exception | Description |
| :- | :- |
| ArgumentOutOfRangeException | Throw if arguments is out of range. |





### See Also
* module [`aspose.html.toolkit.markdown.syntax.text`](../../)
* class [`TextSpan`](/html/python-net/aspose.html.toolkit.markdown.syntax.text/textspan)
