GetColor

IColorPalette.GetColor method

Hämtar palettfärgen efter index.

public Color GetColor(int index)
ParameterTypBeskrivning
indexInt32Palettens färgindex.

Returvärde

Färgpalettposten som anges avindex.

Undantag

undantagskick
ArgumentOutOfRangeExceptionom färgpalettindex angivna är utanför palettens intervall.

Se även