Microsoft.Office.Interop.Word question RRS feed

  • Question

  • There are several examples on this forum that shows how to convert word document into PDF document using Microsoft.Office.Interop.Word. But all the examples reads the file from FileSystem and SaveAs onto FileSystem. I have Silverlight App where user will upload the word document and i have to convert that word document on the SERVER to PDF. So i'll have byte[] on the server represent Word Document, Is there anyway to convert byte[] into PDF without writing the stream onto FileSystem?

    Tuesday, May 10, 2011 3:01 AM


  • Hi lax4u

    You have a lot of related discussions going in here... I think the one where Andrei suggests you get a third-party tool is on-target. Yes, you could "roll your own" by converting Open XML to PDF - it would be the correct approach, but a lot of work.

    Cindy Meister, VSTO/Word MVP
    • Marked as answer by lax4u Tuesday, May 10, 2011 6:37 PM
    Tuesday, May 10, 2011 4:29 PM