CImage::GetColorTable

从项的大小DIB部分的调色板的检索红色,绿色,蓝色(RGB)颜色值。

void GetColorTable(
   UINT iFirstColor,
   UINT nColors,
   RGBQUAD* prgbColors 
) const throw( );

参数

  • iFirstColor
    检索的第一个输入的颜色表索引。

  • nColors
    颜色表的项数检索的。

  • prgbColors
    对数组的指针检索颜色表项目的 RGBQUAD 结构。

要求

Header: atlimage.h

请参见

参考

CImage选件类

CImage::SetColorTable

CImage::GetMaxColorTableEntries

GetDIBColorTable