Another way to display an XPS document using WPF

2.4k Views Asked by At

I would like to ask if there are any other alternatives, aside from DocumentViewer, for displaying an XPS document in a WPF application? A ready-to-use control or class in .NET if possible.

This is because DocumentViewer is a little slow when you are scrolling through the pages.

Thanks!

2

There are 2 best solutions below

0
On

Use NiXPS to convert your XPS document to PDF and use any PDF viewer for WPF out there. This way you will get better performance than you do with DocumentViewer.

0
On

No, unless there are any third-party controls that I'm unaware of.