Click here to Skip to main content
15,885,767 members
Please Sign up or sign in to vote.
3.40/5 (2 votes)
some one tell me how can i convert a word document to pdf in sharepoint.?
Posted
Comments
Ourning 22-Mar-16 9:13am    
Ahmed I used a C# library for word documents, here is acomplite solution: Converting Word documents into PDF files in C#.

This works great in SharePoint Farm Solutions, but it does not in SharePoint Online Solutions. Do you know of any that will work on both?

I would recommend using iTextSharp. http://sourceforge.net/projects/itextsharp/[^] That is what most developers seem to use.

However, there is too much code to just give you everything you need. If you get stuck on something specific please come back and ask a specific question.
 
Share this answer
 
Comments
Ahmed_Raza 4-Oct-13 1:54am    
well i was able to convert using word automation services but now i am stuck into new problem of copying the meta data from source to destination
ZurdoDev 4-Oct-13 7:15am    
I would recommend posting a new question because that will likely require the SharePoint webservices.
Hi,

Copying meta data is a pain to do reliably in SharePoint. I have spent years on it and am still making occasional minor amendments. Have a look here (this product can also do automated conversion of most major file formats).

Disclaimer, as I mentioned I worked on this product so I am obviously biased.
 
Share this answer
 

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