tags:

views:

117

answers:

3

Hi, I am working on 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.

Thanks,

A: 

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.

Muhimbi
A: 

You can also use:

Process.Start("Foo.pdf");

This is equivalent to the user double-clicking on a PDF file and will launch whatever PDF reader is installed on the system.

NascarEd
A: 

http://blog.paritor.com/SimonBlog_Archive.html

Article, that you need, named "Integrating WPF with Windows Forms". DocumentViewer control is the part of WPF, but you still can embed WPF into your app.

Max