If the image has a palette, GetPaletteItem allows to get palette colors.

Namespace: HiComponents.IEvolution
Assembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
public IERGB GetPaletteItem(
	int index
)
Public Function GetPaletteItem ( _
	index As Integer _
) As IERGB
public:
IERGB GetPaletteItem(
	int index
)

Parameters

index
Int32
The palette item index (0..PaletteLength-1).

Return Value

The item color.

See Also