OhioScreenFindString Method |
Searches the text plane for the target string and returns it's position.
Namespace: Flex.Hal.OhioAssembly: Flex.Hal.Ohio (in Flex.Hal.Ohio.dll) Version: 6.0.8219.1880
Syntax public int FindString(
string target,
int pos,
int len,
OhioDirection dir = OhioDirection.FORWARD,
bool ignorecase = false
)
Public Function FindString (
target As String,
pos As Integer,
len As Integer,
Optional dir As OhioDirection = OhioDirection.FORWARD,
Optional ignorecase As Boolean = false
) As Integer
Parameters
- target String
- The target string to search for.
- pos Int32
- The location where the search will begin.
- len Int32
- The length from start to include in the search.
- dir OhioDirection (Optional)
- The direction of the search.
- ignorecase Boolean (Optional)
- Indicates whether the search is case sensitive. True
means that case is ignored.
Return Value
Int32The position of the text if it is found, or -1 if it is not found.
See Also