Available in the LEADTOOLS Imaging toolkit. |
PanWinPaintPalette property (Main Control)
Visual Basic example
Visual C++ 4.0 example
Visual J++ example
Syntax short PanWinPaintPalette
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 PAINTPALETTE_AUTO.
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: PanWinBitonalScaling property, PanWinCursor property, PanWinHeight property, PanWinIcon property, PanWinPaintDither property, PanWin event, PanWinPointer property, PanWinRectColor property, PanWinSysMenu property, PanWinTitle property, PanWinWidth property, PanWinX property, PanWinY property, ShowPanWin method