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


Text string to search for.
Start row for search.
Start column for search.
Specifies search direction.
Searches for the specified text, starting from the specified screen location.
Syntax
'Declaration
 
Overloads Function SearchText( _
   ByVal text As String, _
   ByVal startRow As Integer, _
   ByVal startColumn As Integer, _
   ByVal findOption As FindOptions _
) As ScreenPoint
'Usage
 
Dim instance As IScreen
Dim text As String
Dim startRow As Integer
Dim startColumn As Integer
Dim findOption As FindOptions
Dim value As ScreenPoint
 
value = instance.SearchText(text, startRow, startColumn, findOption)
ScreenPoint SearchText( 
   string text,
   int startRow,
   int startColumn,
   FindOptions findOption
)

Parameters

text
Text string to search for.
startRow
Start row for search.
startColumn
Start column for search.
findOption
Specifies search direction.

Return Value

The coordinate of the located text or null if the text is not found.
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

IScreen Interface
IScreen Members
Overload List

Send Feedback