Click or drag to resize

OhioScreenFindString Method

Searches the text plane for the target string and returns it's position.

Namespace: Flex.Hal.Ohio
Assembly: 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
)

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

Int32
The position of the text if it is found, or -1 if it is not found.
See Also