字符串转rtf值
//字符串转rtf
public string str2Rtf(string s)
{
string rtfFormattedString = "";
RichTextBox richTextBox = new RichTextBox();
richTextBox.Text = s;
rtfFormattedString = richTextBox.Rtf;
return rtfFormattedString;
}