RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
ImgList.TColorDepth Enumeration

Color depth of list images.

Pascal
TColorDepth = (
  cdDefault,
  cdDeviceDependent,
  cd4Bit,
  cd8Bit,
  cd16Bit,
  cd24Bit,
  cd32Bit
);
C++
enum TColorDepth {
  cdDefault,
  cdDeviceDependent,
  cd4Bit,
  cd8Bit,
  cd16Bit,
  cd24Bit,
  cd32Bit
};

TColorDepth is the color depth of images in the list. This is the number of bits to represent color for each pixel. The following table describes the possible values:

Value 
Meaning 
cdDefault  
Default color depth.  
cdDeviceDependent  
Device dependent color depth.  
cd4Bit  
4 bit color depth.  
cd8Bit  
8 bit color depth.  
cd16Bit  
16 bit color depth.  
cd24Bit  
24 bit color depth.  
cd32Bit  
32 bit color depth.  

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!