Click here to Skip to main content
15,886,026 members
Please Sign up or sign in to vote.
5.00/5 (2 votes)
See more:
I need to internally convert the .docx file to .pdf without using Microsoft.Interop services. I searched in google and found some solutions but all are using this Interop.

I wanted to do without Interop Services. Is this possible to convert .docx file to .pdf without using Microsoft Interop Services? Can anyone help me in this?
Thanks for your reply.



Regards,
Karthika
Posted
Comments
lukeer 15-Mar-12 7:19am    
Don't repost.
Use the "Improve question" link beneath your original question[^] instead.
Gooppoiner 5-Dec-19 4:28am    
Here is how you can convert word document to pdf in C# without using Microsoft Interop Services.

Hi
You can print the document as XPS How to: Programmatically Print XPS Files[^]

Then use the GhostXPS GhostXPS[^] to convert the XPS document to PDF.
I hope this will help you.
Roman
 
Share this answer
 
There are many products available to convert Word, or other documents, to PDF. 192,000,000 results are shown from a simple Google search, and none of the top results use Interop. Why do you not want to use Interop? Why restrict your toolset?
 
Share this answer
 
Any specific reason why you are avoiding Interop? See OpenXML[^] if that helps.
 
Share this answer
 
There is no office installed in the hosting server. i have to do something with xml or any other open source
 
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