[]
Gets a C1TextRange that represents a range in the current Document.
public C1TextRange GetTextRange(int start, int length)
Type | Name | Description |
---|---|---|
int | start | Offset from the start of the document. |
int | length | Length of the range in characters. |
Type | Description |
---|---|
C1TextRange | A C1TextRange that represents the requested range. |
You can use the C1TextRange returned to format parts of the document without moving the Selection.