InfoConnect API Guide
Attachmate.Reflection.Emulation.OpenSystems Namespace / IScreen Interface / GetText Method / GetText(Int32,Int32,Int32,Int32,RegionOption,TextTranslationOption) Method
starting row position
starting column position
ending row position
ending column position
How the region is to be interpreted.
Whether/how screen data is to be translated.


In This Topic
    GetText(Int32,Int32,Int32,Int32,RegionOption,TextTranslationOption) Method
    In This Topic
    Retrieves text from the specified screen region.
    Syntax
    'Declaration
     
    
    Overloads Function GetText( _
       ByVal startRow As Integer, _
       ByVal startColumn As Integer, _
       ByVal endRow As Integer, _
       ByVal endColumn As Integer, _
       ByVal regionOption As RegionOption, _
       ByVal translationOption As TextTranslationOption _
    ) As String
    'Usage
     
    
    Dim instance As IScreen
    Dim startRow As Integer
    Dim startColumn As Integer
    Dim endRow As Integer
    Dim endColumn As Integer
    Dim regionOption As RegionOption
    Dim translationOption As TextTranslationOption
    Dim value As String
     
    value = instance.GetText(startRow, startColumn, endRow, endColumn, regionOption, translationOption)

    Parameters

    startRow
    starting row position
    startColumn
    starting column position
    endRow
    ending row position
    endColumn
    ending column position
    regionOption
    How the region is to be interpreted.
    translationOption
    Whether/how screen data is to be translated.
    See Also