Programming with Reflection
GetDisplayText method
Syntax DisplayText = object.GetDisplayText(Row, Column, Chars)
Returns text displayed in the host screen.
For example, the following commands set the value of the displayText variable equal to the display characters located in the terminal window starting at row 3, column 2 and continuing forward 30 characters:
Dim displayText As String
displayText = Session.GetDisplayText(3,2,30)
Row Argument type: Integer
The row at which the selection of text begins. The first row is row 1. You can use rcMouseRow to specify the row where the mouse was last clicked.
Column Argument type: Integer
The column at which the selection of text begins. The first column is column 1. You can use rcMouseCol to specify the column where the mouse was last clicked.
Chars Argument type: Integer
The number of characters to be returned.
DisplayText Return type: String
The screen text that is returned.