Set the current foreground and background colors.
Namespace:
Rebex.TerminalEmulation.Interop
Assembly:
Rebex.Terminal (in Rebex.Terminal.dll)
Syntax
Visual Basic |
---|
Sub SetColor ( _ foreground As Integer, _ background As Integer _ ) |
C# |
---|
void SetColor( int foreground, int background ) |
Parameters
- foreground
- Type: System..::..Int32
Foreground color index.
- background
- Type: System..::..Int32
Background color index.