PaintPalette property (ILEADRasterView)

Visual Basic example

Visual C++ 5.0 example

Delphi 4 example

C++ Builder example

 

Syntax

PaintPaletteConstants PaintPalette

Overview

Refer to Displaying an Image.

Remarks

(Persistent property, available at design time) Specifies whether to force use of a fixed palette when painting images on a device that displays 256 colors or less.

Using the fixed palette improves the overall display of multiple images. You can specify either the LEAD fixed palette or the Netscape fixed palette. The Netscape fixed palette is the same palette used by Netscape Navigator and Microsoft Internet Explorer.

Setting

Description

PAINTPALETTE_AUTO

Use the bitmap's own palette if available; otherwise use the LEAD fixed palette.

PAINTPALETTE_FIXED

Always use the LEAD fixed palette.

PAINTPALETTE_AUTONETSCAPE

Use the bitmap's own palette if available; otherwise use the Netscape fixed palette.

PAINTPALETTE_FIXEDNETSCAPE

Always use the Netscape fixed palette.

See Also

Elements:

BackErase property, BitonalScaling property, ForePalette property, PaintDither property, PaintEffect property, PaintROP3 property, PaintGamma property, PaintIntensity property, PaintContrast property

Topics:

Raster Images: Displaying Images