Click here to Skip to main content
14,924,103 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to convert word doc to pdf in silverlight?

send answer to my mail id
[Email removed]
Updated 14-May-12 22:43pm
Sandeep Mewara 15-May-12 4:44am
Did you try anything?

No need to post email id, once someone answers, you will get an email to your CP registered id.
Krishna KV 22-May-13 5:04am

One way that I have done this using Silverlight is to use the Office Automation on the server and have it create the pdf using the standard interface from Word. This of course means that the conversion part runs on the server and not in Silverlight directly since you can never be sure if a particular version of Office is installed on the users machine or even if they are running Windows or Mac.

Another possibilty is to use something like itextsharp to generate the pdf files. But you would have to read in the Word file separately. I don't like that method as well but I thought I would put it out there as well.
Krishna KV 22-May-13 5:01am
Thank you
Using Office Automation or Interop on server side is not very good. Please see:;EN-US;q257757#kb2[^].

I would rather recommend using Open Office SDK:[^].

This way, you can support new XML-based Office formats (such as .DOCX, .XLSX), ECMA-376 standard:[^],[^].

This way, you can work without Office installed.

As to the conversion to PDF, please see my past answer: Question Convert word to PDF without offce or openoffice[^].


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900