# TextRange
Class
## About
`TextRange` identifies a start index and length in editable content. Search results, spelling services, and text-service sessions use ranges so selections and replacements pass through the editor's normal indexing and undo machinery.
## Methods
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| Constructor | start As Integer = 0 <br> length As Integer = 0 | (None) | Creates a text range with the supplied zero-based start and nonnegative length. |
## Properties
| Name | Type | Default Value | Description |
| --- | :---: | :---: | --- |
| EndOffset | Integer | (None) | Returns the exclusive ending offset of this text range. |
| Length | Integer | (None) | Gets or sets the number of text-storage units contained by this range. |
| Start | Integer | (None) | Gets or sets the zero-based text-storage offset at which this range begins. |