SearchText(String,Int32,Int32,Int32,Int32,FindOption) Method
Searches the specified text, starting from the specified screen location and ending at the specified end screen location.
Syntax
'Declaration
Overloads Function SearchText( _
ByVal As String, _
ByVal As Integer, _
ByVal startColumn As Integer, _
ByVal As Integer, _
ByVal endColumn As Integer, _
ByVal As FindOption _
) As ScreenPoint
'Usage
Dim instance As IIbmScreen
Dim text As String
Dim startRow As Integer
Dim startColumn As Integer
Dim endRow As Integer
Dim endColumn As Integer
Dim findOption As FindOption
Dim value As ScreenPoint
value = instance.SearchText(text, startRow, startColumn, endRow, endColumn, 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.
- endRow
- Row position at which to end search.
- endColumn
- Column position at which to end search.
- findOption
- Specifies the direction in which text is searched.
Return Value
Screen point object.
Exceptions
Exception | Description |
System.ArgumentOutOfRangeException |
Thrown if the startRow, endRow, startColumn, or endColumn parameters are outside the range of valid values: (1 to Rows) or (1 to Columns).
|
See Also