title | description | author | ms.author | ms.date | ms.reviewer | ms.topic | applies_to | search.audienceType | contributors | ||
---|---|---|---|---|---|---|---|---|---|---|---|
getViewPortHeight (Client API reference) in model-driven apps| MicrosoftDocs |
Includes description and supported parameters for the getViewPortHeight method. |
HemantGaur |
hemantg |
03/12/2022 |
jdaly |
reference |
Dynamics 365 (online) |
|
|
[!INCLUDE./includes/getViewPortHeight-description.md]
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.
formContext.ui.getViewPortHeight();
Type: Number
Description: The viewport height in pixels.
getViewPortWidth
formContext.ui
formContext
[!INCLUDEfooter-include]