Specifies the number of bits per pixel. The biBitCount member of the BITMAPINFOHEADER structure determines the number of bits that define each pixel and the maximum number of colors in the bitmap. This member must be one of the following values.
Syntax
Visual Basic (Declaration) | |
---|
Public biBitCount As Short |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As BITMAPINFOHEADER
Dim value As Short
value = instance.biBitCount
instance.biBitCount = value |
C# | |
---|
public short biBitCount |
C++/CLI | |
---|
public:
short biBitCount |
Requirements
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
See Also