Size

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Core Language > BuiltIn Functions > System functions > System > System.VirtualScreen >

Size

 

Description

 

Returns total available resolution as a comma delimited string.

 

Syntax

 

virtualDesktopDescription = System.VirtualScreen.Size

 

Returns

 

String, in format x,y,width,height

 

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