GetColor
ColorPalette.GetColor method
按索引获取调色板颜色。
public Color GetColor(int index)
| 范围 | 类型 | 描述 |
|---|---|---|
| index | Int32 | 调色板颜色索引。 |
返回值
由指定的调色板条目index.
例外
| 例外 | (健康)状况 |
|---|---|
| ArgumentOutOfRangeException | 如果调色板index指定超出调色板条目范围。 |
也可以看看
- struct Color
- class ColorPalette
- 命名空间 Aspose.Imaging
- 部件 Aspose.Imaging