<< Click to Display Table of Contents >> Navigation: ThinBASIC Core Language > BuiltIn Functions > System functions > System > System.VirtualScreen > Width |
Description
Returns total width in pixels across all monitors.
Syntax
virtualDesktopWidth = System.VirtualScreen.Width
Returns
Number, width 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 side-by-side 1920x1080 displays
printl "Virtual screen height: " + System.VirtualScreen.Height ' Will print 1080 on PC with two side-by-side 1920x1080 displays
waitkey