IColorPalette.GetColor
IColorPalette.GetColor method
Gets the palette color by index.
public Color GetColor(int index)
| Parameter | Type | Description |
|---|---|---|
| index | Int32 | The palette color index. |
Return Value
The color palette entry specified by the index.
Exceptions
| exception | condition |
|---|---|
| ArgumentOutOfRangeException | if color palette index specified is out of the palette entries range. |
See Also
- struct Color
- interface IColorPalette
- namespace Aspose.Imaging
- assembly Aspose.Imaging