CGDIPalette::GetNearestPaletteIndex

UINT CGDIPalette::GetNearestPaletteIndex(void)

Retrieves the closest match to the given color of all entries in the palette.

Defined in: GDIObjects.h

Return Value

Index of closest match entry.

Comments

For more information on this routine, see your Windows PlatformSDK documentation.