<< Click to Display Table of Contents >> Navigation: ThinBASIC Core Language > BuiltIn Functions > System functions > System > System.Desktop > Width |
Description
Returns desktop width in pixels.
Syntax
desktopWidth = System.Desktop.Width
Returns
Number, width in pixels
Remarks
Restrictions
Read only.
See also
Examples
uses "Console"
printl System.Desktop.Width + "x" + System.Desktop.Height ' Will print "1920x1080" on PC with single display 1920x1080
waitKey