English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
The Screen object contains information about the user's screen.
It can be used to display the width, height, colorDepth (color depth), pixelDepth (color depth) of the screen, etc.
The Screen object isWindowPart of an object that can be written without a window prefix.
The following table lists the properties of the Screen object:
Properties | Description |
---|---|
availHeight | Returns the height of the screen (excluding the Windows taskbar) |
availWidth | Returns the width of the screen (excluding the Windows taskbar) |
colorDepth | Returns the color depth of the screen |
height | Returns the total height of the screen (in pixels) |
pixelDepth | Returns the color depth of the screen |
width | Returns the total width of the screen (in pixels) |