Get(ScreenWidth)

Category: Get

Syntax: Get ( ScreenWidth )

Parameters: None

Data type returned: Number

Description:

Returns the number of pixels that are displayed horizontally on the active screen. This corresponds to a user's operating system settings for display resolution.

Note when the active window spans more than one screen, this function calculates the value for the screen that contains the largest percentage of the window.

See Get (ScreenHeight).

Examples:

Function

Results

Get (ScreenWidth)

Returns 1280 when the user's monitor is set to display at 1280x854 resolution.

Категории