Link Search Menu Expand Document

Root.GetDesktopHeight Property

Explanation Gets the vertical size of the desktop. The size to be acquired is the part of the entire screen excluding the area occupied by the task bar of the system and the toolbar of the application. For Android version, returns the entire area (vertical resolution of the display). In a multi-display environment, it is not possible to acquire screen sizes other than the primary monitor.
Added since Ver.4.0.1
Not supported in Mobile
Call format var width = //.GetDesktopHeight( )
Return value Returns the vertical size of the desktop in pixels.
Arguments None
Exception None
Example of use
    Form1.X = (//.GetDesktopWidth() - Form1.Width) / 2;
    Form1.Y = (//.GetDesktopHeight() - Form1.Height) / 2;
    
Related item GetDesktopWidth method