Convert XPS to PDF in WPF C# application

后端 未结 3 404
挽巷
挽巷 2021-01-15 14:37

I need to convert an XPS file I create with my application to a PDF file, what is the best way to do so? I prefer this to be done from inside C# using a managed assembly.

3条回答
  •  孤街浪徒
    2021-01-15 14:51

    An open source managed assembly might be hard to find, but you can look at tallcomponents.com for a commercial product that might help, You can have a look at GhostScript.com, its open source and supports both XPS and PDF, although you may have issues redistributing it without a license.

提交回复
热议问题