Best ways to convert XPS to PDF (and vice-versa)?
Solution 1
After much searching, I found this SDK:
Its kindof expensive but works wonderfully. Goodbye fop!
Solution 2
The way I have done this in the past is print my XPS file to a PDF printer. I use cutePDF for this. So when you select to print, you print to cutePDF which prints a PDF version.
I am not sure if this will meet your needs but it has worked well for me in the past.
Solution 3
If you have OneNote, you can print to OneNote and then export as PDF at least in OneNote 2013. This seems better than having to install another third party tool.
Comments
-
markti almost 4 years
I have XPS documents being generated from XAML User Controls that act as templates. I want to convert the XPS documents into alternative formats, mainly PDF, programmatically with a .NET based API.
What is the best way to do this?