Reflection
SearchText(String,Int32,Int32,Int32,Int32,FindOptions,TextComparisonOption) Method


Text string to search for.
Start row for search.
Start column for search.
End row for search.
End column for search.
Specifies search direction.
Specifies the role of character case in the search.
Searches for the specified text, starting from the specified screen location and ending at the specified end screen location.
Syntax
'Declaration
 
Overloads Function SearchText( _
   ByVal text As String, _
   ByVal startRow As Integer, _
   ByVal startColumn As Integer, _
   ByVal endRow As Integer, _
   ByVal endColumn As Integer, _
   ByVal findOption As FindOptions, _
   ByVal textComparison As TextComparisonOption _
) As ScreenPoint
'Usage
 
Dim instance As IScreen
Dim text As String
Dim startRow As Integer
Dim startColumn As Integer
Dim endRow As Integer
Dim endColumn As Integer
Dim findOption As FindOptions
Dim textComparison As TextComparisonOption
Dim value As ScreenPoint
 
value = instance.SearchText(text, startRow, startColumn, endRow, endColumn, findOption, textComparison)

Parameters

text
Text string to search for.
startRow
Start row for search.
startColumn
Start column for search.
endRow
End row for search.
endColumn
End column for search.
findOption
Specifies search direction.
textComparison
Specifies the role of character case in the search.

Return Value

The coordinate of the located text or null if the text is not found.
See Also