none
getting images from Word RRS feed

  • Question

  • I am trying to program in asp.net so that I can get images from MS Word.

    These are charts, diagrams and I am exporting them as images but struggling to get the same result as I would get if 

    I save word document as html.

    Any libraries or idea for this?

     

    thanks in advance..

    Tuesday, January 18, 2011 11:39 AM

Answers

  • Hi Sitegurus,

    Thank you for posting and we are glad to help with you.

    After reading your post, I knew that you want to get images from word document and export them from the document. If I have misunderstood you, please let me know.

    Did you use OpenXml to process the word file? If not, I recommend you process documents via Open XML sdk. Because when considering server-side processing documents, using open xml object model is a good solution. Please take a look at this MSDN article: http://msdn.microsoft.com/en-us/library/bb735939.aspx

    In addition, here is the article about creating document via openxml: http://openxmldeveloper.org/articles/OpenXMLDocFromDotNetWebVersion.aspx , but I didn't figure out how to fetch images in openxml, you can do some research.

    I hope it can help you and feel free to follow up.

    Best Regards,


    Bruce Song [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    • Proposed as answer by Bruce Song Thursday, January 20, 2011 5:03 AM
    • Marked as answer by Bruce Song Wednesday, January 26, 2011 10:27 AM
    Thursday, January 20, 2011 4:18 AM