InfoConnect for Unisys
Attachmate.Reflection.Emulation.OpenSystems Namespace / IScreen Interface / GetText Method / GetText(Int32,Int32,Int32) Method
starting row position
starting column position
number of text characters to retrieve

In This Topic
    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.
    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)


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

    Return Value

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