MagGlassPaintPalette property (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

TPaletteType MagGlassPaintPalette

Delphi Syntax

MagGlassPaintPalette: TPaletteType

Overview

Refer to Using the Magnifying Glass

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 Magnify Glass.

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:

StartMagGlass method, StopMagGlass method, MagGlassBitonalScaling property, MagGlassPaintDither property, MagGlassPaintScaling property, MagGlassMaskCount property, MagGlassMask property, MagGlassPointer property.

Topics:

Raster Images: Displaying Images