Thresher 1.2 Class Documentation

TextColor.MakeColor Method (String, MircColor)

Add Color control codes.

[Visual Basic]
Overloads Public Shared Function MakeColor( _
   ByVal text As String, _
   ByVal textColor As MircColor _
) As String
[C#]
public static string MakeColor(
   string text,
   MircColor textColor
);

Parameters

text
A piece of text.
textColor
The color of the text taken from one of the mIRC color enums.

Return Value

The text with the added control codes.

See Also

TextColor Class | Sharkbite.Irc Namespace | TextColor.MakeColor Overload List