Given the following code fragment
wordApp.Documents.Open(FileName: wordDoc, Visible: false);
if (wordApp.Documents.Count > 0)
{
_Document thisDoc = wordApp.ActiveDocument;
thisDoc.SaveAs(FileName: rtfDoc, FileFormat: WdSaveFormat.wdFormatRTF);
Can anyone suggest a method to perform this conversion without saving to disk?
I want the raw text of the rtf document in memory, perhaps as a StringBuilder object.