GetText

Returns screen text at the location specified by position and length.


Syntax

FlexScreen.GetText(Position, Length)


Parameters


Position

Integer, input



Integer value of the zero based screen position, which may be obtained by using the FlexScreen.Position method.


Length

Integer, input



Length of the text string to return.


Example

Sub Main()

MsgBox "The text at row 3, column 32 and length 18 is:" & vbCrLf & vbCrLf & FlexScreen.GetText(FlexScreen.Position(3, 32), 18)

End Sub