MultilineTextDiff/VerySimpleRtfBuilder.cs
/// <summary>
/// Insert font name identification to RTF string and add new font to list of fonts.
/// </summary>
/// <param name="name">Name of the new font.</param>
Insert font name identification to RTF string and add new font to list of fonts.
Insert font name identification to RTF string and add new font to list of fonts .
[SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Justification = "Internal function")]
    private void ProcessFontName(string name)
    {
      if (!this.FontChangeAllowed)
      {
        throw new NotSupportedException("Font change is not supported in current mode!");
      }
      this.rtf.AppendFormat(@"\f{0}", GetFontId(name));
    }
[ SuppressMessage ( " " , " " , Justification = " " ) ] private void ProcessFontName ( string name ) { if ( ! this . FontChangeAllowed ) { throw new NotSupportedException ( " " ) ; } this . rtf . AppendFormat ( @"\f{0}" , GetFontId ( name ) ) ; }
Insert font name identification to RTF string and add new font to list of fonts.
Insert font name identification to RTF string and add new font to list of fonts .
name
string
Name of the new font.
Name of the new font .