Reflection Desktop VBA Guide
Attachmate.Reflection.Objects.Emulation.IbmHosts Library / Attachmate.Reflection.Objects.Emulation.IbmHosts Library / IbmScreen Object / GetText Method
Field row location.
Field column location.
Text length.
In This Topic
    GetText Method (IbmScreen)
    In This Topic
    Gets the text from the specified location.
    expression.GetText( _
       ByVal row As Integer, _
       ByVal column As Integer, _
       ByVal length As Integer _
    ) As String
    where expression is a variable that represents a IbmScreen Object


    Field row location.
    Field column location.
    Text length.

    Return Value

    Text from specified location.
    This exception is thrown if the row or column parameters are outside the range of valid values: (1 to Rows) or (1 to Columns), or if length is invalid.
    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 half of a DBCS character, the last byte is not returned.
    See Also