Export (0) Print
Expand All
1 out of 7 rated this helpful - Rate this topic

screen object

Contains information about the client's screen and rendering capabilities.

Internet Explorer 8

Members

The screen object has these types of members:

Events

The screen object has these events.

EventDescription
onmsorientationchange

Dispatched whenever a change in screen orientation occurs.

 

Properties

The screen object has these properties.

PropertyDescription

availHeight

Gets the height of the working area of the system's screen, excluding the Windows taskbar.

availWidth

Gets the width of the working area of the system's screen, excluding the Windows taskbar.

bufferDepth

Gets or sets the number of bits per pixel used for colors in the off-screen bitmap buffer.

colorDepth

Gets the number of bits per pixel used for colors on the destination device or buffer.

constructor

Gets a reference to the constructor of a screen object.

deviceXDPI

Gets the actual number of horizontal dpi of the system's screen.

deviceYDPI

Gets the actual number of vertical dpi of the system's screen.

fontSmoothingEnabled

Gets whether the user has enabled font smoothing in the Display control panel.

height

Gets the vertical resolution of the screen.

logicalXDPI

Gets the normal number of horizontal dots per inch (DPI) of the system's screen.

logicalYDPI

Gets the normal number of vertical dots per inch (DPI) of the system's screen.

pixelDepth

Gets the number of bits per pixel that is used for colors on the destination device or buffer.

systemXDPI

Gets the number of horizontal dpi of display resolution at normal zoom level.

systemYDPI

Gets the number of vertical dpi of display resolution at normal zoom level.

updateInterval

Gets or sets the update interval for the screen.

width

Gets the horizontal resolution of the screen.

 

Standards information

See also

devicePixelRatio

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.