Visual Basic
C#
Managed Extensions for C++
C++/CLI
Parameters
- Index
- An integer value which represents the index into the palette table. The minimum index is 0 and the maximum index is 255.
- color
- A System.Drawing.Color value for that palette location.
When the PaletteType property is set as PaletteType.UserDefined, images displayed during palettized display will use the palette defined by this method.