Home | Top | Free Ajax Editor | JavaScript Editor | Get Advanced JavaScript and Ajax Editor, Validator and Debugger! 1st JavaScript Editor. |
Retrieves the number of bits per pixel used for colors on the destination device or buffer.
Syntax
[ iBitsPerPixel = ] screen . colorDepthPossible Values
iBitsPerPixel | Integer that receives one of the following values.
|
The property is read-only. The property has no default value.
Remarks
Retrieving the value of the property through script enables you to select an appropriate color to return to the browser.
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 .
Standards Information
There is no public standard that applies to this property.
Applies To
|
screen |
Home | Top | Free Ajax Editor | JavaScript Editor | Get Advanced JavaScript and Ajax Editor, Validator and Debugger! 1st JavaScript Editor. |