即使没有Acrobatreader,也要读取Pdf [英] Read Pdf even if there is no Acrobatreader
本文介绍了即使没有Acrobatreader,也要读取Pdf的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
海,
即使在客户端机器中未安装acrobatreader,我也想读取PDf文件.并且无需询问保存"对话框即可直接打开
请帮助
在此先感谢
Soumya
Hai,
I would like to read a PDf file even if there is not installed acrobatreader in client mechine. and also directly open without asking Save dialog box
Pls help
Thanks in advance
Soumya
推荐答案
如果您真的不能确定客户端计算机上有什么可用,那么您将不得不将服务器上的PDF文件处理为您所需要的文件可以显示:HTML或类似内容.
我不知道您的情况,因此很难具体说明,但是Google将将pdf转换为html c#",您会发现很多其他公司都在这条路上.
就我个人而言,我认为某些浏览器(例如Chrome)可以直接查看PDF,而且几乎每个人都拥有PDF阅读器,因此我只是继续使用PDF文档,而不必为转换而烦恼.这不是Adobe向读者收取费用吗?
If you really can''t be sure what is available on the client machine, then you will have to process the PDF file on the server into something you can display: HTML or similar.
I don''t know your situation, so it is difficult to be specific, but google for "convert pdf to html c#" and you will find a lot of others have been down this road.
Personally, I take the view that some browsers (eg Chrome) can view PDF directly, and nearly everyone has a PDF reader anyway, so I just go ahead with PDF documents and don''t bother with conversion. It''s not as if Adobe charge for the reader, is it?
在这里,您去了: aspnetpdfviewer.aspx>在客户端或服务器上未安装Acrobat Reader的ASP.NET PDF Viewer用户控件 [ ^ ]
Here you go: ASP.NET PDF Viewer User Control Without Acrobat Reader Installed on Client or Server[^]
这篇关于即使没有Acrobatreader,也要读取Pdf的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文