none
Extracting images and equations from a word document using c# RRS feed

Answers

  • I find the link is about your question, I help that can help you.
    Saturday, March 9, 2013 3:29 PM
  • To extract images from Word file you may try to use  free library Open XML for .docx format:

    http://www.microsoft.com/en-us/download/details.aspx?id=5124

    Or you may want to look at Elerium Word Net component. It allows to save all the images with one method call:

    Document Doc = Document.ReadDoc("SaveAllImages.doc"); // Save all images into a folder with given name. // Every image will be saved in the same format // in which it was stored in the source document. Doc.SaveAllImages("Images");

    // To save a certain image

    var Par = (Paragraph)Doc.Sections[0].Nodes[2];

    Par.SaveAllImages("Images");

    Also it saves all equations images in .doc and .rtf formats.


    Thursday, March 14, 2013 9:42 AM

All replies

  • I find the link is about your question, I help that can help you.
    Saturday, March 9, 2013 3:29 PM
  • To extract images from Word file you may try to use  free library Open XML for .docx format:

    http://www.microsoft.com/en-us/download/details.aspx?id=5124

    Or you may want to look at Elerium Word Net component. It allows to save all the images with one method call:

    Document Doc = Document.ReadDoc("SaveAllImages.doc"); // Save all images into a folder with given name. // Every image will be saved in the same format // in which it was stored in the source document. Doc.SaveAllImages("Images");

    // To save a certain image

    var Par = (Paragraph)Doc.Sections[0].Nodes[2];

    Par.SaveAllImages("Images");

    Also it saves all equations images in .doc and .rtf formats.


    Thursday, March 14, 2013 9:42 AM
  • will u plz tell me how to use open xml with WOM

    Monday, March 25, 2013 11:06 PM