bufferDepthbufferDepth*
*



Contents  *



Index  *Topic Contents
*Previous Topic: browserLanguage
*Next Topic: button

bufferDepth

Description

Specifies an offscreen bitmap buffer.

Syntax

object.bufferDepth[ = bufferDepth]

Settings

This read-write property can have these values:

0
No explicit buffering. The colorDepth property is set to the screen depth.
-1
Perform buffering at the screen depth. colorDepth is set to the screen depth.
1, 4, 8, 15, 16, 24, or 32
Perform buffering using the given bits-per-pixel. colorDepth is also set to this value. The value 15 specifies 16 bits-per-pixel, in which only 15 bits are used in a 5-5-5 layout of RGB values.

Nonsupported values cause bufferDepth to be set to -1.

When bufferDepth is -1 and the user changes system settings that affect the screen depth, the buffer depth is automatically updated to the new depth. This is not the case if you set bufferDepth to a specific value.

Applies To

screen


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.