PaletteFlags Property (ILEADRasterDlgClr)

Visual Basic example

Visual C++ example

 

Syntax

long PaletteFlags;

Overview

Refer to Using Imaging Common Dialogs

Remarks

Gets or sets the palette option, or color order, in the Color Resolution dialog box. Setting this before calling the Color Resolution dialog box has no effect. Possible values are:

Value

Meaning

CRP_BYTEORDERRGB

[0x00] Use RGB color. This flag is only valid for 16 or more-bit images.

CRP_FIXEDPALETTE

[0x01] Use the fixed palette.

CRP_OPTIMIZEDPALETTE

[0x02] Create an optimized palette. Or, if you supply a palette in UserPalette property, supply optimized colors for specified entries in the palette.

CRP_NETSCAPEPALETTE

[0x40] Use the fixed palette that is employed by Netscape Navigator and by Microsoft Internet Explorer.

CRP_USERHPALETTE

[0x0100] Use the palette specified in the UserPalette parameter.

CRP_IDENTITYPALETTE

[0x08] Insert the Windows system palette.

CRP_BYTEORDERBGR

[0x04] Use BGR color order. This flag only has meaning when going to 16 bits per pixel or higher.

See Also

Elements

ShowColorResDlg method, BitsPerPixel property, DitherFlags property, UIFlags property