colorDepth
Property of css/cssom/screencss/cssom/screen
Syntax
var result = element.colorDepth;
element.colorDepth = value;
Notes
Remarks
Retrieving the value of the property through script enables you to select an appropriate color to return to the client. If bufferDepth is 0 or -1, colorDepth is equal to the bits-per-pixel value for the screen or printer. If bufferDepth is nonzero, colorDepth is equal to bufferDepth.
Syntax
Standards information
- CSSOM View Module, 4.2
See also
Related pages
- screenscreen
Attributions
Microsoft Developer Network: [Windows Internet Explorer API reference Article]