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

ScaleRatio property

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

Use this property to set and retrieve the scale ratio to be applied to images before matching.

Typically used to compensate for different vertical and horizontal pixels density on some devices.


double value; // give relevant initial value
eyes.ScaleRatio  = value;
value = eyes.ScaleRatio