Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CImage::SetColorTable

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.

Remarks

This method supports only DIB section bitmaps.

See Also

CImage Overview | Class Members | CImage::GetColorTable

Show:
© 2015 Microsoft