如何打开PDF文件 [英] How to Open PDF File

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

问题描述

亲爱的朋友们,





如何在输入PDF我有本地文件夹的发票编号时打开文件PDF文件。我希望通过AppConfing文件重新发送PDF文件。





例如输入发票否,我希望使用Windows应用程序显示发票对应的PDF。







谢谢和注册

Manavalan

Dear Friends,


How to open File PDF File while Enter Invoice Number that PDF i have local Folder. I want reterive PDF File through AppConfing file.


For Example Enter Invoice No, i want show that invoice corresponding PDF using Windows Application.



Thanks&Regs
Manavalan

推荐答案

请尝试以下方法:

Try the following:
System.Diagnostics.Process.Start(@"c:\myfile.pdf");


请阅读我的评论问题。如果您想在相关应用程序中打开pdf文件,请参阅:如何使用C#启动PDF阅读器 [ ^ ]。但是,如果您想在您的应用程序中打开pdf文件,请参阅:使用C#在Windows窗体控件上显示.pdf或.doc内容 [ ^ ]
Please, read my comment to the question. If you want to open pdf file in associated application, please see: How to Launch PDF Reader using C#[^]. But if you would like to open pdf file in your application, please see: Display .pdf or .doc contents on to a Windows Form Control using C#[^]


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

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