Exemplo n.º 1
0
 /// <summary>
 /// Appends specified string to the end of the text using specified font and color.
 /// </summary>
 /// <param name="Text">String to append.</param>
 /// <param name="Font">Font of the text.</param>
 /// <param name="Color">Color of the appended text.</param>
 public void Append(string Text, HTMLFont Font, string Color)
 {
     this._Text.Append("<span style=\"color:");
     this._Text.Append(Color);
     this._Text.Append("\">");
     this._Text.AppendFormat(Font.GetFormat(), Text);
     this._Text.Append("</span>");
 }
Exemplo n.º 2
0
 /// <summary>
 /// Appends specified string to the end of the text using specified font.
 /// </summary>
 /// <param name="Text">String to append.</param>
 /// <param name="Font">Font of the text.</param>
 public void Append(string Text, HTMLFont Font)
 {
     this._Text.AppendFormat(Font.GetFormat(), Text);
 }