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