screen HTML Object
A version of this page is also available for
4/8/2010
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. |
deviceXDPI |
Long |
Read-only |
Retrieves the actual number of horizontal dots per inch (DPI) of the system's screen. |
deviceYDPI |
Long |
Read-only |
Retrieves the actual number of vertical dots per inch (DPI) of the system's screen. |
height |
Long |
Read-only |
Retrieves the vertical resolution of the screen. |
logicalXDPI |
Long |
Read-only |
Retrieves the normal number of horizontal dots per inch (DPI) of the system's screen. |
logicalYDPI |
Long |
Read-only |
Retrieves the normal number of vertical dots per inch (DPI) of the system's screen. |
width |
Long |
Read-only |
Retrieves the horizontal resolution of the screen. |
Requirements
Windows Mobile | Pocket PC 2002 and later, Smartphone 2002 and later |