Click here to Skip to main content
14,635,966 members
Rate this:
Please Sign up or sign in to vote.
See more:
I am looking for a sample code/free api which will help me to convert ppt/pptx file to pdf file with C# code without dependency of MS Office. I have a requirement like, I cant take help of "Microsoft.Office.Interop" & my machine will not have installed MS Office.This will be C# code and will execute with windows programming.Even not possible to purchase any plugin/api.

I am using VS2010 & the code should be built with that.

Can you guys help me please? Any help will appreciate and thanks in advance.
Posted
Updated 26-Jun-16 8:31am
v2
Comments
Srijan_Mitra 1-Sep-15 6:02am
   
But as I mentioned "not possible to purchase any plugin/api", so no way to use Spire.Presentation. Because I have to render all the pages, not first 3. Anyway, I appreciate your share on this:-)
sreeyush sudhakaran 2-Sep-15 5:41am
   
Can use some online free REST Api which allows post to convert ppt to pdf?
Srijan_Mitra 3-Sep-15 4:00am
   
Hi, sreeyush I am done with the below link.
https://tinyway.wordpress.com/2011/03/30/how-to-convert-office-documents-to-pdf-using-open-office-in-c/
Thank you guys for your helping hand :-)
sreeyush sudhakaran 6-Sep-15 1:19am
   
Thanks for sharing information :-)
[no name] 27-Jun-16 21:59pm
   
I came across with a solution provided by free spire.presentation. But it limits to convert only 3 three pages to PDF, if your documents are not big enough, you can give it a try:

https://code.msdn.microsoft.com/Operate-Powerpoint-file-in-d5c78b25/sourcecode?fileId=114592&pathId=912880959

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




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100