lcImageSetPixelI Home

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

 BOOL lcImageSetPixelI (
   HANDLE hImage,
   int X,
   int Y,
   int iColor
 );

Parameters
hImage
  Handle to a raster image object.
X
  Pixel X coordinate. The value must be less then LC_PROP_IMAGE_WPIX.
Y
  Pixel Y coordinates. The value must be less then LC_PROP_IMAGE_HPIX.
iColor
  Index of palette color.

Return Value

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

See Also

  lcImageGetPixelI