Attachmate Reflection 2014 .NET API Reference
GetText Method (IIbmScreen)


Text row position.
Text column position.
Length of the text.
Gets the text from the specified location.
Syntax
'Declaration
 
Function GetText( _
   ByVal row As Integer, _
   ByVal column As Integer, _
   ByVal length As Integer _
) As String
'Usage
 
Dim instance As IIbmScreen
Dim row As Integer
Dim column As Integer
Dim length As Integer
Dim value As String
 
value = instance.GetText(row, column, length)
string GetText( 
   int row,
   int column,
   int length
)

Parameters

row
Text row position.
column
Text column position.
length
Length of the text.

Return Value

The text.
Exceptions
ExceptionDescription
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).
Remarks
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 differ. If the last byte is half of a DBCS character, it is not returned.
Requirements

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

Reference

IIbmScreen Interface
IIbmScreen Members

Send Feedback