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: 4.1.4031.1525
Syntax
public int FindString(
	string target,
	int pos,
	int len,
	OhioDirection dir,
	bool ignorecase
)

Parameters

target
Type: SystemString
The target string to search for.
pos
Type: SystemInt32
The location where the search will begin.
len
Type: SystemInt32
The length from start to include in the search.
dir
Type: Flex.Hal.OhioOhioDirection
The direction of the search.
ignorecase
Type: SystemBoolean
Indicates whether the search is case sensitive. True means that case is ignored.

Return Value

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