display PDF file into WinForms

本小妞迷上赌 提交于 2019-12-05 23:01:41

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.

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.

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.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!