DesktopDisplay.Height

From Xojo Documentation

Read-Only Property (As Integer )
IntegerValue = aDesktopDisplay.Height

New in 2021r3

Supported for all project types and targets.

The height of the display in points. Use the DesktopDisplay.DisplayAt method to call Height. For example, DesktopDisplay.DisplayAt(0).Height returns the height of the main display.