不使用Acrobat的PDF查看器 [英] PDF viewer without using Acrobat

查看:139
本文介绍了不使用Acrobat的PDF查看器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

H,
有什么方法可以在不使用Acrobat对象的情况下在浏览器中打开PDF.
我已经尝试了下面的链接,但是它不起作用

未安装Acrobat Reader的ASP.NET PDF Viewer用户控件客户端或服务器 [ ^ ]

所以请帮帮我.
如果您知道任何免费的JQuery插件或HTML5方式可在网页上查看PDF Doc,请提供帮助.

H,
Is there any way to open PDF in Browser without using Acrobat object.
I have tried below link but its not working

ASP.NET PDF Viewer User Control Without Acrobat Reader Installed on Client or Server[^]

so please help me.
If you know any Free JQuery plugin or HTML5 way to view PDF Doc in web page please help.

推荐答案

您可以为此使用 iTextSharp . :)

我已经写过一篇文章.请查看以获取更多信息.

如何使用iTextsharp创建Asp.Net MVC 3报告?
You can use iTextSharp for that. :)

I have written an Article about that.Please check that for more info.

How to Create Asp.Net MVC 3 Report using iTextsharp?


尝试使用Google Doc Viewer.只需将一个iframe嵌入到指向Google Doc Viewer的页面中,然后指定要显示的PDF文件即可.这是您应该添加的代码:

Try Google Doc Viewer. Just embed an iframe in your page pointing to Google Doc Viewer and specifying the PDF file you want to display. This is the code you should add:

<iframe src="http://docs.google.com/gview?url=http://infolab.stanford.edu/pub/papers/google.pdf&embedded=true" style="width:600px; height:500px;" frameborder="0"></iframe>



然后,您只需要将自己的文档文件设置为"url"查询字符串参数即可,仅此而已!一种无杂技的解决方案,可在网页上显示PDF.



Then you just need to set up your own document file to the "url" query string param and that''s it! An acrobat-free solution to display PDF on webpages.


这篇关于不使用Acrobat的PDF查看器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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