TerminalPalette.SetColor Method
Namespace: Rebex.TerminalEmulation
Assembly: Rebex.Terminal.dll (version 7.0.9119)
SetColor(Int32, Color)
Sets the palette color at the specified index. Please note that the default Ansi and Dos palettes are read-only - create a new palette to set colors.
Declaration
public void SetColor(int index, Color color)
Parameters
Type | Name | Description |
---|---|---|
Int32 | index | Color index. |
Color | color | Palette color. |