private string textColor = @"\red0\green0\blue0;";//文字顏色-->黑
private string BgWhite = @"\red255\green255\blue255;";//背景顏色-->白
private string BgGray = @"\red180\green180\blue180;";//背景顏色-->灰
//插入文字
private string getTagRtf(string text, string textColor, string textBgColor)
{
StringBuilder rtfText = new StringBuilder();
rtfText.Append(@"{\rtf1\ansi\ansicpg936\deff0\deflang1033\deflangfe2052");//rtf頭
rtfText.Append(@"{\fonttbl{\f0\fnil\fcharset134\''cb\''ce\''cc\''e5;}}