Gets the palette index of the specified custom scheme color.

Namespace:  Rebex.TerminalEmulation
Assembly:  Rebex.Terminal (in Rebex.Terminal.dll)

Syntax

Visual Basic
Public Function GetColorIndex ( _
	color As SchemeColorName _
) As Integer
C#
public int GetColorIndex(
	SchemeColorName color
)

Parameters

color
Type: Rebex.TerminalEmulation..::..SchemeColorName
Scheme color.

Return Value

Palette index (0..15).

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also