Attachmate Reflection 2014 .NET API Reference
GetText(Int32,Int32,Int32) Method

starting row position
starting column position
number of text characters to retrieve
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.
Overloads Function GetText( _
   ByVal startRow As Integer, _
   ByVal startColumn As Integer, _
   ByVal length As Integer _
) As String
Dim instance As IScreen
Dim startRow As Integer
Dim startColumn As Integer
Dim length As Integer
Dim value As String
value = instance.GetText(startRow, startColumn, length)
string GetText( 
   int startRow,
   int startColumn,
   int length


starting row position
starting column position
number of text characters to retrieve

Return Value

the requested string
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).

Target Platforms: Microsoft Windows 7, Microsoft Windows Vista, Microsoft Windows XP, Microsoft Windows Server 2003 Terminal Services, Microsoft Windows Server 2008 Terminal Services

See Also


IScreen Interface
IScreen Members
Overload List

Send Feedback