110,534
社区成员
发帖
与我相关
我的任务
分享
public void SaveFile()
{
// You should replace the bold file name in the
// sample below with a file name of your own choosing.
// Note the escape character used (@) when specifying the path.
richTextBox1.SaveFile(System.Environment.GetFolderPath
(System.Environment.SpecialFolder.Personal)
+ @"\Testdoc.rtf",
RichTextBoxStreamType.RichNoOleObjs);
}