display PDF file into WinForms

Ravi picture Ravi · May 27, 2010 · Viewed 20.5k times · Source

I am working on a C# .Net Windows application. Here I create report using Infragistics.Documents.Report and export to .pdf & .xps format. Here I want to bringthose 2 files(.pdf & .xps) into WinForms and display. How to bring saved .pdf & .xps file into win forms.

Answer

Jeroen Ritmeijer picture Jeroen Ritmeijer · May 27, 2010

Put a web browser control in your form and navigate it to the PDF / XPS file. Providing a PDF Reader is installed on your system it should work great.