Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

ColorDepth Enumeration

Specifies the number of colors used to display an image in an ImageList control.

[Visual Basic]
<Serializable>
Public Enum ColorDepth
[C#]
[Serializable]
public enum ColorDepth
[C++]
[Serializable]
__value public enum ColorDepth
[JScript]
public
   Serializable
enum ColorDepth

Remarks

This enumeration is used by the ColorDepth property of the ImageList class.

Members

Member name Description
Depth16Bit A 16-bit image.
Depth24Bit A 24-bit image.
Depth32Bit A 32-bit image.
Depth4Bit A 4-bit image.
Depth8Bit An 8-bit image.

Requirements

Namespace: System.Windows.Forms

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: System.Windows.Forms (in System.Windows.Forms.dll)

See Also

System.Windows.Forms Namespace

Show:
© 2015 Microsoft