region method

Class: OcrRegionPlatform: Selenium 3Language: Java SDK:

Define a sub region in the target that should be the area searched using OCR.

For more information see Eyes OCR support .

This feature is experimental. Please note that the functionality and/or API may change.

Syntax


BaseOcrRegion value = obj.region(region);

Parameters

region
Type:Region
A rectangular area within the mage that is captured as defined by the target, as defined using the OcrRegion method.

Return value

Type: BaseOcrRegion
This method returns the object that called it so that it can be used to call other methods supportd by this class in a fluent API style.