如何在我的c#Windows应用程序中打开Pdf文件 [英] How I Can Open Pdf File In My c# Windows Application
本文介绍了如何在我的c#Windows应用程序中打开Pdf文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想打开任何pdf(密码保护或简单)在Windows应用程序中打开阅读。
我怎么做才能帮助我。
谢谢。
I want to open any pdf (password protected or simple) to open in windows application for read.
how i can do it plz help me.
thank you .
推荐答案
如果你理解的话,你想在C#中查看pdf文件形式:
这是如何:
*从工具箱中添加webBrowser对象到你的表格。
*将浏览器URL设置为您的pdf文件位置
if you understand you well ,,, you want to view pdf file in C# form :
this is how :
* fron the toolBox add webBrowser object to your form .
* set the browser url to your pdf file location
webBrowser1.Url = new Uri("C:\path.pdf");
这篇关于如何在我的c#Windows应用程序中打开Pdf文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文