ColorPalette 結構 (gdipluspixelformats.h)

ColorPalette結構會定義組成調色盤的色彩陣列。 色彩為 32 位元 ARGB 色彩。

語法

struct ColorPalette {
  UINT Flags;
  UINT Count;
  ARGB Entries[1];
};

成員

Flags

類型: UINT

從 PaletteFlags列舉的旗標組合。

Count

類型: UINT

Entries陣列中的專案數目。

Entries[1]

類型: ARGB[1]

ARGB 色彩的陣列。

需求

   
最低支援的用戶端 Windows XP、Windows 2000 Professional [僅限傳統型應用程式]
最低支援的伺服器 Windows 2000 Server [僅限傳統型應用程式]
標頭 gdipluspixelformats.h (包含 Gdiplus.h)

另請參閱

Color

Image::GetPalette

Image::SetPalette

點陣圖類型