This project has moved. For the latest updates, please go here.

how to open and read word document(doc/docx) with formatting and display it in ckeditir

Sep 11, 2012 at 10:52 AM

I'm able to read the word content string without any word formatting.

can anyone help in this regards

Sep 12, 2012 at 2:17 PM

in the question title you say with formatting, now you say without. huh? and what is ckeditir ???
if you want something like this?

string documentContent = String.Empty;
foreach (var item in wordApplication.Documents[1].Characters)           
   documentContent += item.Text;