Share via


screen HTML Object

The screen object contains information about the device screen and rendering capabilities.

Properties

Property Data type Access Description
availHeight Long Read-only Retrieves the height of the working area of the system's screen, excluding the taskbar.
availWidth Long Read-only Retrieves the width of the working area of the system's screen, excluding the taskbar.
colorDepth Long Read-only Retrieves the number of bits per pixel used for colors on the destination device or buffer.
height Long Read-only Retrieves the vertical resolution of the screen.
width Long Read-only Retrieves the horizontal resolution of the screen.

Requirements

Smartphone: Windows Mobile 2002 and later
OS Versions: Windows CE 3.0 and later

Last updated on Friday, April 22, 2005

© 2005 Microsoft Corporation. All rights reserved.

Send feedback on this topic to the authors.