Click or drag to resize

OhioScreenWaitForCursorAsync Method

Waits for the cursor to appear at the position.

Namespace:  Flex.Hal.Ohio
Assembly:  Flex.Hal.Ohio (in Flex.Hal.Ohio.dll) Version: 4.1.4031.1525
Syntax
public Task<bool> WaitForCursorAsync(
	int pos,
	int msec,
	CancellationToken canceltoken
)

Parameters

pos
Type: SystemInt32
Position to wait for.
msec
Type: SystemInt32
The length of time to wait in milliseconds before a time-out occurs.
canceltoken
Type: System.ThreadingCancellationToken
Token to cancel the wait.

Return Value

Type: TaskBoolean
True if the cursor appears at the position before a time out or cancellation; otherwise, false.
See Also