The information in this topic may be out of date. The current SDK reference guide has moved here.

Ignore method

Class: ImagesCheckSettingsPlatform: ImagesLanguage: C# SDK:

Add one or more ignore regions to this target (i.e. areas whose content matches anything).

Syntax

eyes.Check(Target.Window().Ignore(region, regions))
eyes.Check(Target.Window().Ignore(regions))

Parameters

region
Type:Rectangle
An object that defines a rectangular area in the window.
regions
Type:Rectangle[]
An array of rectangle objects, each of which defines a region.
regions
Type:IEnumerable<Rectangle>
An array of rectangle objects, each of which defines a region.

Return value

Type: ICheckSettings
The value returned is the object that called the method. You can use it to call other methods supported by the object class.

Remarks

You may call this method multiple times in a given chain.

Ignore regions should not overlap each other or other types of regions such as floating or match level regions.