GetDisplaySize

<< Click to Display Table of Contents >>

Manual > Control Reference > Route > Route Methods >

GetDisplaySize


 

Gets the size of the display.

 


syntax

GetDisplaySize(

         &x,

         &y

         [, bWorkArea = FALSE]

         [, monitorId = 0]

         [, &state]

         )

 


Parameters

 

&x

 

Type:

Number

 

Vertical size in pixels.

 

&y

 

Type:

Number

 

The horizontal size in pixels.

 

bWorkArea

 

Type:

Boolean

 

If TRUE, returns the size excluding the taskbar area.

 

monitorId

 

Type:

Number

 

Monitor number.

-1: The monitor on which the browser is currently displayed

0: Primary monitor

1 or more: Monitor number (ID for all monitors including the primary monitor)

 

&state

 

Type:

General purpose

 

If the monitor is the primary monitor, it returns "PRIMARY". If an error occurs, it returns "ERROR".

 


Supported


Script Action

Browser script

×

Calculation Expression Syntax

 

 


reference