TextRange Constructors
Assembly: Topten.RichTextKit.dll
Namespace: Topten.RichTextKit
Declaring Type: TextRange
Overloads
| TextRange(CaretPosition) | Initializes a TextRange from a caret position |
| TextRange(int, bool) | Initializes a TextRange with a non-range position |
| TextRange(int, int, bool) | Initializes a TextRange |
TextRange(CaretPosition)
Initializes a TextRange from a caret position
public TextRange(CaretPosition position);
Parameters
| CaretPosition position | The code point index of the position |
TextRange(int, bool)
Initializes a TextRange with a non-range position
public TextRange(int position, bool altPosition = false);
Parameters
| int position | The code point index of the position |
| bool altPosition = false | Whether the caret should be displayed in its alternative position |
TextRange(int, int, bool)
Initializes a TextRange
public TextRange(int start, int end, bool altPosition = false);
Parameters
| int start | The code point index of the start of the range |
| int end | The code point index of the end of the range |
| bool altPosition = false | Whether the caret at the end of the range should be displayed in its alternative position |
