From here I have seen it suggested that an instance of RichTextBox be created and then it’s SaveFile(string path) method be used to get the file onto the hard drive:
RichTextBox rtb = new RichTextBox();
rtb.SaveFile(@"\MyFileName.rtf");
It works, but,….. is this how it should be done, I ask as it seems a little hackish? If not, then what is the correct way of doing this.
The MSDN documentation says that’s exactly how you are supposed to do it.
They also have the following example here: