Managing Palettes

Use the following properties to modify a palette that is used to display an image on a device that is 8 bits per pixel or less:

BitmapPalette property

UserPalette property

Use the following method to get the palette used in a particular device context:

GetPalette method

For related information about palette usage, refer to the ColorRes and ColorResList methods, and to the PaintPalette property.