Windows desktop applications
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PaletteFlags enumeration

Applies to: desktop apps only

The PaletteFlags enumeration indicates attributes of the color data in a palette.

Syntax

typedef enum  {
  PaletteFlagsHasAlpha    = 0x0001,
  PaletteFlagsGrayScale   = 0x0002,
  PaletteFlagsHalftone    = 0x0004 
} PaletteFlags;

Constants

PaletteFlagsHasAlpha

Indicates that one or more of the palette entries contains alpha (transparency) information.

PaletteFlagsGrayScale

Indicates that the palette contains only grayscale entries.

PaletteFlagsHalftone

Indicates that the palette is the Windows halftone palette.

Requirements

Minimum supported client

Windows XP, Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Product

GDI+ 1.0

Header

Gdipluspixelformats.h (include Gdiplus.h)

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Community Additions

Show:
© 2016 Microsoft