InfoConnect for Unisys
Attachmate.Reflection.Emulation.IbmHosts Namespace / IIbmScreen Interface / GetTextEx Method
The first row from which to retrieve data.
The first column from which to retrieve data.
The last row from which to retrieve data.
The last column from which to retrieve data.
String data returned as a stream or block.
Screen wrapping characteristics.
The field types to return.
Formatting information.


In This Topic
    GetTextEx Method (IIbmScreen)
    In This Topic
    Gets the text from the specified screen area.
    Syntax
    'Declaration
     
    
    Function GetTextEx( _
       ByVal startRow As Integer, _
       ByVal startColumn As Integer, _
       ByVal endRow As Integer, _
       ByVal endColumn As Integer, _
       ByVal areaType As GetTextArea, _
       ByVal wrap As GetTextWrap, _
       ByVal attr As GetTextAttr, _
       ByVal flags As GetTextFlags _
    ) As String
    'Usage
     
    
    Dim instance As IIbmScreen
    Dim startRow As Integer
    Dim startColumn As Integer
    Dim endRow As Integer
    Dim endColumn As Integer
    Dim areaType As GetTextArea
    Dim wrap As GetTextWrap
    Dim attr As GetTextAttr
    Dim flags As GetTextFlags
    Dim value As String
     
    value = instance.GetTextEx(startRow, startColumn, endRow, endColumn, areaType, wrap, attr, flags)

    Parameters

    startRow
    The first row from which to retrieve data.
    startColumn
    The first column from which to retrieve data.
    endRow
    The last row from which to retrieve data.
    endColumn
    The last column from which to retrieve data.
    areaType
    String data returned as a stream or block.
    wrap
    Screen wrapping characteristics.
    attr
    The field types to return.
    flags
    Formatting information.

    Return Value

    The text in the specifed area.
    Remarks
    The (startRow, startColumn, endRow, endColumn) 4-tuple allows data to be retrieved from one or more lines, as a continuous stream or as a block of characters.
    See Also