GetText(Int32,Int32,Int32) Method
In This Topic
Gets the text from the specified location. The length argument specifies the number of screen bytes to get. In SBCS, the number of screen bytes is the same as that of the ScreenCharacter objects. In DBCS, the two numbers can be different. If the last byte is only one half byte of a DBCS character, the last byte is not returned.
Syntax
Parameters
- startRow
- starting row position
- startColumn
- starting column position
- length
- number of text characters to retrieve
Return Value
the requested string
Exceptions
Exception | Description |
System.ArgumentOutOfRangeException |
This exception is thrown if the row or column parameters are outside the range of valid values (1 to Rows) or (1 to Columns).
|
See Also