IsIndexedPixelFormat function (gdipluspixelformats.h)

The IsIndexedPixelFormat method determines whether a specified pixel format is an indexed format.

Syntax

BOOL IsIndexedPixelFormat(
  PixelFormat pixfmt
);

Parameters

pixfmt

Type: PixelFormat

A PixelFormat constant that specifies the pixel format to be tested.

Return value

Type: BOOL

If the pixel format is an indexed format, this method returns TRUE; otherwise, it returns FALSE.

Requirements

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header gdipluspixelformats.h (include Gdiplus.h)
Library Gdiplus.lib