0
You can use LEADTOOLS Document Imaging SDK technology inside your application.
https://www.leadtools.com/sdk/document/document-viewer
To view XPS files you can leverage the DocumentViewer class, which will allow you to load and display any of the LEADTOOLS supported file formats (including XPS).
Since you are developing a WinForms application you can take a look into the Document Viewer WinForms tutorial in the link below for sample code.
https://www.leadtools.com/help/sdk/v22/tutorials/dotnet-winforms-display-files-in-the-document-viewer.html
0
Using Windows Forms, convert XPS to Bitmap follow the complete code and in the followin link:
https://foxlearn.com/windows-forms/how-to-convert-xps-to-bitmap-in-csharp-394.html