Method GetRange
GetRange(long, long)
Returns the string containing the text starting in the positions from and up to to in the control.
string GetRange(long from, long to)
Parameters
Returns
Remarks
The positions must have been returned by another control method. Please note that the positions in a multiline text control do not correspond to the indices in the string returned by Value because of the different new line representations(CR or CR LF). This method should be used to obtain the correct results instead of extracting parts of the entire value. It may also be more efficient, especially if the control contains a lot of data.