I am developing C#.Net application in which Rich Text is created in one of several several Rich Text Edit boxes in the application. I am also using Visual Studio Tools for Office in order to Programmatically add the Rich Text content into a Microsoft Office document in various locations. My problem is that I have not been able to get the Rich Text read in preserving the formatting. I have tried using a ContentControl and setting the Type = WdContentControlType.wdContentControlRichText, but the Word Document only interprets it as raw text. Should I be using some other technique?
I'm really not even sure how to read text into the ContentControl. I have tried using a Range, but maybe that's not the correct way.
I am using C#.Net with Visual Studio 2008 and Microsoft.Office.Core and Microsoft.Office.Interop.Word.