BitmapPalette property (ILEADRaster)

Visual Basic example

Visual C++ 5.0 example

Delphi 4 example

C++ Builder example

 

Syntax

OLE_COLOR BitmapPalette (short iIndex);

Overview

Refer to Managing Palettes

Remarks

Sets a color in the bitmap's palette.

The palette is an array of 256 elements. Each element is a long integer value containing the red, green and blue (RGB) components of the color. You can specify a color using the RGB function.

Palettes are used only for images that are 8 bits per pixel or less.

See Also

Topics:

Raster Images: Palettes

 

Using Color Values in LEADTOOLS