Image::GetPaletteSize method (gdiplusheaders.h)

The Image::GetPaletteSize method gets the size, in bytes, of the color palette of this Image object.

Syntax

INT GetPaletteSize();

Return value

Type: INT

This method returns the size, in bytes, of the color palette of this Image object.

Requirements

   
Minimum supported client Windows XP, Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header gdiplusheaders.h (include Gdiplus.h)
Library Gdiplus.lib
DLL Gdiplus.dll

See also

Bitmap

Color

ColorPalette

Image

Image::GetPaletteSize

Images, Bitmaps, and Metafiles

Using Images, Bitmaps, and Metafiles