BitmapPalette property (Main Control)

Visual Basic example
Visual C++ 4.0 example

Access 2.0 example

Access 95, 97 example
Visual J++ 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