Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

TerminalPalette.SetColor Method

Namespace: Rebex.TerminalEmulation
Assembly: Rebex.Terminal.dll (version 7.0.9147)

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.

In This Article
  • SetColor(Int32, Color)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies