setExplicitViewportSize method

Class: EyesPlatform: ImagesLanguage: JavaScript SDK:

Use this method to set the viewport size to be used to select the appropriate baseline.

Syntax


eyes.setExplicitViewportSize(explicitViewportSize);

Parameters

explicitViewportSize
Type:RectangleSize
The size of the viewport. A value of null disables the explicit size.

Return value

Type: