
## to_string {#int}

Override the ToString() method.


### Returns 


The string result.


```python
def to_string(self, start):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| start | int | The integer start value. |
### Exceptions
| Exception | Description |
| :- | :- |
| ArgumentOutOfRangeException | The index is negative -or- larger than the length. |




## to_string {#aspose.html.toolkit.markdown.syntax.text.TextSpan}

Defines the interface ToString()


### Returns 


The string.


```python
def to_string(self, span):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| span | [`TextSpan`](/html/python-net/aspose.html.toolkit.markdown.syntax.text/textspan) | The TextSpan. |


## to_string {#int-int}

Defines the interface ToString()


### Returns 


The string.


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


| Parameter | Type | Description |
| :- | :- | :- |
| start | int | The start position. |
| length | int | The length. |



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