automation of Doc to PDF in c#

AnarchistGeek picture AnarchistGeek · Feb 17, 2011 · Viewed 9.9k times · Source

I have got about 200 word documents that I need to pdf.

Obviously, I cannot pdf them one by one as, first it will take ages, second I am sure it is not good practice to do so.

I need to find a way to automate that conversion, since we will need to this again and again.

I use C#, but the solution does not necessarily have to be in c#, but it is preferred.

I have had a look at few libraries such as PDfCreator, Office 2007 add-in, ITextSharp, and so forth and there is not any clear answer on the forums.

PDFCreator has c# sample, but it does only work with txt files. Office 2007 add in does not have document locking capabilities which a must on the automation.

has anyone implemented such scenario before? I would like you hear your suggestions.

Thanks in advance

regards

Answer

John Koerner picture John Koerner · Feb 17, 2011