lcImageSetPalColor Home

Sets palette color. The image must have palette colors (LC_PROP_IMAGE_RGB = false).

 BOOL lcImageSetPalColor (
   HANDLE hImage,
   int iColor,
   int Red,
   int Green,
   int Blue
 );

Parameters
hImage
  Handle to a raster image object.
iColor
  Index of palette color.
Red Green Blue
  Color components. The value can be in range 0-255.

Return Value

  If the function succeeds, the return value is nonzero (TRUE).

See Also

  lcImageGetPalColor