LabelWithValue Methods

ReadValue

Reads the value in the searchRectangle determined by the label and the relative position using OCR.

Syntax:

public string ReadValue()

Return Value:

The string read in the searchRectangle.

Exceptions:

VerifyValue

Verifies the dynamic value with OCR, using a rectangle that is determined by the relative position to the static label.

Syntax:

public bool VerifyValue(
	string value,
	out string actualValue
)

Parameters:

Return Value:

True, if value could be found in the searchRectangle determined by the relative position to the static label.

Exceptions:

WaitForValue

Waits for the specified value for the time given in waitTime, if waitTime is not set or default, WaitTimeInSeconds is used.

Syntax:

public bool WaitForValue(
	string value,
	out string actualValue,
	TimeSpan waitTime = default
)

Parameters:

Return Value:

True, if value could be found before the end of waitTime in the defined searchRectangle determined by the relative position to the static label.

Exceptions:

Last updated