Export (0) Print
Expand All


Retrieves the bits-per-pixel value.

int GetBPP( ) const throw( );

The number of bits per pixel.

This value determines the number of bits that define each pixel and the maximum number of colors in the bitmap.

The bits per pixel is usually 1, 4, 8, 16, 24, or 32. See the biBitCount member of BITMAPINFOHEADER in the Platform SDK for more information about this value.

Community Additions

© 2015 Microsoft