This project has moved. For the latest updates, please go here.

Convert DocX to PDF

Nov 19, 2015 at 9:35 AM
Hi All,

Now I am replacing some text from word document using DocX Lib it is working fine.

I want save that word document as PDf format.

How can I do this?

Thanks
Developer
Nov 19, 2015 at 9:38 AM
It's not possible with DocX. You need to use external package/tools.
Nov 19, 2015 at 9:52 AM

Just a thought – which has worked for me in the past but if MSWord is loaded on the machine where DocX is running you might be able to use the following links as reference.

http://stackoverflow.com/questions/607669/how-do-i-convert-word-files-to-pdf-programmatically

http://www.stefanfeenstra.nl/sharepoint-2013/converting-office-documents-pdf-office-interop-assemblies/

max