[This is preliminary documentation and is subject to change.]
Builds an ANSI-BBS escape code to change the current color.
Namespace: Thought.Terminals
Assembly: Thought.Terminals (in Thought.Terminals.dll)
Version: 0.1.0.0
Syntax
| C# |
|---|
public string SetStyle( TextStyle oldStyle, TextStyle newStyle ) |
| Visual Basic (Declaration) |
|---|
Public Function SetStyle ( _ oldStyle As TextStyle, _ newStyle As TextStyle _ ) As String |
| Visual C++ |
|---|
public: virtual String^ SetStyle ( TextStyle^ oldStyle, TextStyle^ newStyle ) sealed |
Parameters
- oldStyle
- TextStyle
The old or current color.
- newStyle
- TextStyle
The new color.
Return Value
An ANSI-BBS escape code that changes the color from the old color to the new color.
See Also
AnsiTerminalProtocol Class
Thought.Terminals Namespace