getViewPortHeight (Client API reference)

Gets the height of the viewport in pixels.

The viewport is the area of the page containing form data. It corresponds to the body of the form and does not include the navigation, header, footer or form assistant areas of the page.

Syntax

formContext.ui.getViewPortHeight();

Return Value

Type: Number

Description: The viewport height in pixels.

getViewPortWidth
formContext.ui
formContext