All Tech Tips

screen Object

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

Members Table

PropertyDescription
availHeight Retrieves the height of the working area of the system's screen, excluding the Microsoft Windows taskbar.
availWidth Retrieves the width of the working area of the system's screen, excluding the Windows taskbar.
bufferDepth Sets or retrieves the number of bits per pixel used for colors in the off-screen bitmap buffer.
colorDepth Retrieves the number of bits per pixel used for colors on the destination device or buffer.
deviceXDPI   Retrieves the actual number of horizontal dots per inch (DPI) of the system's screen.
deviceYDPI   Retrieves the actual number of vertical dots per inch (DPI) of the system's screen.
fontSmoothingEnabled Retrieves whether the user has enabled font smoothing in the Display control panel.
height Retrieves the vertical resolution of the screen.
logicalXDPI   Retrieves the normal number of horizontal dots per inch (DPI) of the system's screen.
logicalYDPI   Retrieves the normal number of vertical dots per inch (DPI) of the system's screen.
updateInterval Sets or retrieves the update interval for the screen.
width Retrieves the horizontal resolution of the screen.

Remarks

This object is available in script as of Internet Explorer 4.0.

Standards Information

There is no public standard that applies to this object.

Applies To

window


Copyright © 2006 alltechtips.com. All rights reserved.

This website and the materials and information you find on this website are provided "as is", without warranty of any kind, either express or implied, including without limitation any warranty for information, services, or products provided through or in connection with the service and any implied warranties of merchantability, fitness for a particular purpose, expectation of privacy or non-infringement.