screen object
Contains information about the client's screen and rendering capabilities.
![]() |
Members
The screen object has these types of members:
Events
The screen object has these events.
| Event | Description |
|---|---|
| onmsorientationchange |
Dispatched whenever a change in screen orientation occurs. |
Properties
The screen object has these properties.
| Property | Description |
|---|---|
|
Gets the height of the working area of the system's screen, excluding the Windows taskbar. | |
|
Gets the width of the working area of the system's screen, excluding the Windows taskbar. | |
|
Gets or sets the number of bits per pixel used for colors in the off-screen bitmap buffer. | |
|
Gets the number of bits per pixel used for colors on the destination device or buffer. | |
|
Gets a reference to the constructor of a screen object. | |
|
Gets the actual number of horizontal dpi of the system's screen. | |
|
Gets the actual number of vertical dpi of the system's screen. | |
|
Gets whether the user has enabled font smoothing in the Display control panel. | |
|
Gets the vertical resolution of the screen. | |
|
Gets the normal number of horizontal dots per inch (DPI) of the system's screen. | |
|
Gets the normal number of vertical dots per inch (DPI) of the system's screen. | |
|
Gets the number of bits per pixel that is used for colors on the destination device or buffer. | |
|
Gets the number of horizontal dpi of display resolution at normal zoom level. | |
|
Gets the number of vertical dpi of display resolution at normal zoom level. | |
|
Gets or sets the update interval for the screen. | |
|
Gets the horizontal resolution of the screen. |
Standards information
- CSSOM View Module, 4.2
See also
