PaintPalette property (Main Control)

Visual Basic example
Visual C++ 4.0 example

Access 2.0 example

Access 95, 97 example
Visual J++ example

Syntax short 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