
## from_address {#str}

Define the interface for get SourceText from string.


### Returns 


The SourceText.


```python
def from_address(self, text):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| text | str | The string text. |


## from_address {#list}

Define the interface for get SourceText from array of the source.


### Returns 


The SourceText.


```python
def from_address(self, source):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| source | list | The SourceText. |


## from_address {#str-System.Text.Encoding}

Define the interface for get SourceText from string and encoding.


### Returns 


The SourceText.


```python
def from_address(self, text, encoding):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| text | str | The string text. |
| encoding | System.Text.Encoding | The encoding. |



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