Get(WindowWidth)

Category: Get

Syntax: Get ( WindowWidth )

Parameters: None

Data type returned: Number

Description:

Returns the total width, in pixels, of the current window. A window retains all its properties, such as height and width, even if it is hidden.

The window height and width measures the outside dimensions of a window, whereas the window content height and window content width measure the inside dimensions of a window.

Window height and width can be assigned when creating and resizing windows.

Examples:

Function

Results

Get (WindowWidth)

Returns 650 when the window that is being acted upon is 650 pixels wide.

Категории