2
Answers

Open XPS File in WinForm

Geni Lou

Geni Lou

3y
716
1

How can I view a XPS file in Windows Form?

Answers (2)
0
Kip Hackman

Kip Hackman

NA 406 134 3y
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
Muhammad Imran Ansari

Muhammad Imran Ansari

261 7.4k 324.5k 3y

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