将PDF文件显示到WinForms中 [英] display PDF file into WinForms

查看:97
本文介绍了将PDF文件显示到WinForms中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用C#.Net Windows应用程序.在这里,我使用Infragistics.Documents.Report创建报告并导出到.pdf& .xps格式.在这里,我想将这2个文件(.pdf和.xps)导入WinForms并显示.如何携带已保存的.pdf& .xps文件转换为胜利形式.

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.

推荐答案

将Web浏览器控件放入表单中,并将其导航到PDF/XPS文件.如果您的系统上安装了PDF Reader,它应该可以正常工作.

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.

这篇关于将PDF文件显示到WinForms中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆