在浏览器中显示和嵌入PDF [英] Display And Embed PDF in the browser

查看:142
本文介绍了在浏览器中显示和嵌入PDF的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在vb中编码,框架.net 2.0,vs2005

当用户想要点击查看.pdf格式的报告时,

我将能够显示该文件并将其嵌入浏览器。


我应该包含哪些代码?

解决方案

< blockquote>好吧,如果他们安装了正确的阅读器,你可以直接链接到PDF。它将显示在嵌入式PDF阅读器中。



好​​吧,如果他们安装了正确的阅读器,您只需链接到PDF 。它将显示在嵌入式PDF阅读器中。



对不起......我无法理解你的意思......什么是正确的读者?你的意思是?

可以给出一些例子吗?


好​​吧...我想在浏览器中显示pdf文件,但是没有像打开一样打开pdf文件Adobe ...示例如下链接:


http://www.beansoftware.com/ASP.NET-Tutorials/PDF-View-Custom-Control.aspx


但遗憾的是我无法成功运行该程序...

库上有一些问题...


thanx ...


好吧,我的意思是Adobe Reader。也许别人知道更多。您是否尝试按照逐步链接的教程进行操作?


Coding in vb, framework .net 2.0, vs2005

When an user want to click on to view the report which is in the .pdf format,
I will be able to display the file and embed it in the browser.

What codes should i include?

解决方案

Well, if they have the proper reader installed, you can just link to the PDF. It will be displayed in the embedded PDF reader.


Well, if they have the proper reader installed, you can just link to the PDF. It will be displayed in the embedded PDF reader.

i am sorry...i cant catch what you mean...what is the "proper reader" u meant?
can give some examples?

well...i want to display the pdf file in browser, but not open the pdf file like using Adobe...example as link below:

http://www.beansoftware.com/ASP.NET-Tutorials/PDF-View-Custom-Control.aspx

but unfortunately i cannot run the program successfully...
there have some problem on the library...

thanx...


Well, I meant Adobe Reader. Maybe somebody else knows more. Did you try to follow the tutorial you linked step by step?


这篇关于在浏览器中显示和嵌入PDF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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