InRegion method

Class: EyesPlatform: Selenium 3Language: C# SDK:

Use this to do OCR on a rectangular area in the window.

Syntax


InRegionBase value = eyes.InRegion(region);

InRegion value = eyes.InRegion(selector);

Parameters

region
Type:Rectangle
The region to be operated on.
selector
Type:By
An object that defines a selector for the region.

Return value

Type: InRegionBase
Example use : Assert.AreEqual("View Edit Help", eyes.InRegion(someRegion).GetText());