<< Click to Display Table of Contents >> Navigation: ThinBASIC Core Language > BuiltIn Functions > System functions > System > System.VirtualScreen > Height |
Description
Returns total width in pixels across all monitors.
Syntax
virtualDesktopHeight = System.VirtualScreen.Height
Returns
Number, height in pixels
Remarks
Restrictions
Read only.
See also
Examples
uses "Console"
printl "Virtual screen size: " + System.VirtualScreen.Size ' Will print "0,0,3840,1080" on PC with two side-by-side 1920x1080 displays
printl "Virtual screen width: " + System.VirtualScreen.Width ' Will print 3840 on PC with two 1920x1080 side-by-side displays
printl "Virtual screen height: " + System.VirtualScreen.Height ' Will print 1080 on PC with two 1920x1080 side-by-side displays
waitkey