Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

The screenobject 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

See Also