Thresher 1.2 Class Documentation

TextColor.MakeColor Method (String, MircColor, MircColor)

Add Color control codes.

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

Parameters

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

Return Value

The text with the added control codes.

See Also

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