PanWinPaintPalette property (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

TPaletteType PanWinPaintPalette

Delphi Syntax

PanWinPaintPalette: TPaletteType

Overview

Refer to Using a PanWindow.

Remarks

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

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. The default is ppAuto.

Setting

Description

ppAuto

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

ppFixed

Always use the LEAD fixed palette.

ppAutoNetscape

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

ppFixedNetscape

Always use the Netscape fixed palette.

See Also

Elements:

PanWinBitonalScaling property, PanWinHeight property, PanWinIcon property, PanWinPaintDither property, OnPanWin event, PanWinPointer property, PanWinRectColor property, PanWinSysMenu property, PanWinTitle property, PanWinWidth property, PanWinX property, PanWinY property, ShowPanWin method

Topics:

Raster Images: Displaying and Printing