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

ViewportSize property

Class: ConfigurationPlatform: ImagesLanguage: C# SDK:

Use this property to set and retrieve the viewport size to be used by the browser for the test.


RectangleSize configval; // give relevant initial value
config.ViewportSize  = configval;
configval = config.ViewportSize