Attachmate Reflection 2014 .NET API Reference
SearchText(String,Int32,Int32,Int32,FindOption) Method


Text to be searched on the screen.
Row position from which to start search.
Column position from which to start search.
Text range of byte positions.
Specifies the direction in which text is searched.
Searches the specified text starting from the specified screen location for "searchRange" byte positions.
Syntax
'Declaration
 
Overloads Function SearchText( _
   ByVal text As String, _
   ByVal startRow As Integer, _
   ByVal startColumn As Integer, _
   ByVal searchRange As Integer, _
   ByVal findOption As FindOption _
) As ScreenPoint
'Usage
 
Dim instance As IIbmScreen
Dim text As String
Dim startRow As Integer
Dim startColumn As Integer
Dim searchRange As Integer
Dim findOption As FindOption
Dim value As ScreenPoint
 
value = instance.SearchText(text, startRow, startColumn, searchRange, findOption)
ScreenPoint SearchText( 
   string text,
   int startRow,
   int startColumn,
   int searchRange,
   FindOption findOption
)

Parameters

text
Text to be searched on the screen.
startRow
Row position from which to start search.
startColumn
Column position from which to start search.
searchRange
Text range of byte positions.
findOption
Specifies the direction in which text is searched.

Return Value

Screen point object.
Exceptions
ExceptionDescription
System.ArgumentOutOfRangeException Thrown if the startRow or startColumn parameters are outside the range of valid values: (1 to Rows) or (1 to Columns).
Requirements

Target Platforms: Microsoft Windows 7, Microsoft Windows Vista, Microsoft Windows XP, Microsoft Windows Server 2003 Terminal Services, Microsoft Windows Server 2008 Terminal Services

See Also

Reference

IIbmScreen Interface
IIbmScreen Members
Overload List

Send Feedback