[]
Initializes a C1TextRange.
public C1TextRange(C1TextPointer start, C1TextPointer end)
Type | Name | Description |
---|---|---|
C1TextPointer | start | The start position. |
C1TextPointer | end | The end position. |
Initializes a C1TextRange.
public C1TextRange(C1TextRange range)
Type | Name | Description |
---|---|---|
C1TextRange | range | A range to copy. |
Initializes an empty C1TextRange.
public C1TextRange(C1TextPointer pos)
Type | Name | Description |
---|---|---|
C1TextPointer | pos | The start and end position. |
Initializes a C1TextRange from text indexes inside a C1TextElement.
public C1TextRange(C1TextElement element, int start, int length)
Type | Name | Description |
---|---|---|
C1TextElement | element | The C1TextElement. |
int | start | The start index. |
int | length | The length of the range. |