Read doc file with formatted words in C# .Net RRS feed

  • Question

  • Hi,

    I am looking for C# code that will read document file (.doc/.docx) with all formatted words including images, bullets, font with bold/italic/underline, table, header & footer and so on.

    I am using WordprocessingDocument.Open() and Microsoft.Office.Interop.Word.Application But unable to get exactly i am looking for.

    Please suggest some good snippets.

    Thanks in adv.

    Wednesday, October 30, 2013 11:17 AM

All replies

  • The two methods you've already looked at are your only possibilities, unless a third-party product offers something different. But it's not clear from your problem description exactly what you're looking for and how the Word APIs or the Word Open XML format doesn't meet them...

    Cindy Meister, VSTO/Word MVP, my blog

    Wednesday, October 30, 2013 2:50 PM
  • DocumentScreenShot

    This is the sample of required doc. i wanna read same as showing in this doc and wanna create html file that will have same look & feel. Kindly suggest.

    Thursday, October 31, 2013 5:39 AM
  • And also let me know that how can i achieve the same with the help of word open xml format. it may help to me. Kindly update with sample code for the same.
    Thursday, October 31, 2013 5:41 AM