
## SourceText class

Base class implements the SourceText.



The SourceText type exposes the following members:

### Properties
| Property | Description |
| :- | :- |
| [encoding](/html/python-net/aspose.html.toolkit.markdown.syntax.text/sourcetext/encoding) | Get encoding. |
| [length](/html/python-net/aspose.html.toolkit.markdown.syntax.text/sourcetext/length) | Get the length. |
| [span](/html/python-net/aspose.html.toolkit.markdown.syntax.text/sourcetext/span) | Get the span. |
| [lines](/html/python-net/aspose.html.toolkit.markdown.syntax.text/sourcetext/lines) | Get the Lines collection. |



Gets  the value at the given index.
### Indexer
| Name | Description |
| :- | :- |
| [index] | The position. |


### Methods
| Method | Description |
| :- | :- |
| [from_address](/html/python-net/aspose.html.toolkit.markdown.syntax.text/sourcetext/from_address/#str) | Define the interface for get SourceText from string. |
| [from_address](/html/python-net/aspose.html.toolkit.markdown.syntax.text/sourcetext/from_address/#str-System.Text.Encoding) | Define the interface for get SourceText from string and encoding. |
| [from_address](/html/python-net/aspose.html.toolkit.markdown.syntax.text/sourcetext/from_address/#list) | Define the interface for get SourceText from array of the source. |
| [get_text](/html/python-net/aspose.html.toolkit.markdown.syntax.text/sourcetext/get_text/#) | Define the interface for get Text. |
| [get_text](/html/python-net/aspose.html.toolkit.markdown.syntax.text/sourcetext/get_text/#aspose.html.toolkit.markdown.syntax.text.TextSpan) | Define the interface for get Text. |
| [get_text](/html/python-net/aspose.html.toolkit.markdown.syntax.text/sourcetext/get_text/#int) | Define the interface for get Text. |
| [to_string](/html/python-net/aspose.html.toolkit.markdown.syntax.text/sourcetext/to_string/#int) | Override the ToString() method. |
| [to_string](/html/python-net/aspose.html.toolkit.markdown.syntax.text/sourcetext/to_string/#int-int) | Defines the interface ToString() |
| [to_string](/html/python-net/aspose.html.toolkit.markdown.syntax.text/sourcetext/to_string/#aspose.html.toolkit.markdown.syntax.text.TextSpan) | Defines the interface ToString() |
| [copy_to](/html/python-net/aspose.html.toolkit.markdown.syntax.text/sourcetext/copy_to/#int-list-int-int) | Define the interface for get SourceText from array of the source. |



### See Also
* module [`aspose.html.toolkit.markdown.syntax.text`](..)
