Export (0) Print
Expand All

CImage::SetColorTable 

Sets the red, green, blue (RGB) color values for a range of entries in the palette of the DIB section.


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

Parameters

iFirstColor

The color table index of the first entry to set.

nColors

The number of color table entries to set.

prgbColors

A pointer to the array of RGBQUAD structures to set the color table entries.

This method supports only DIB section bitmaps.

Community Additions

ADD
Show:
© 2014 Microsoft