单击图像按钮时如何打开pdf文件 [英] how to open pdf file when i click image button
本文介绍了单击图像按钮时如何打开pdf文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在单击图像按钮时打开pdf文件.
i want to open pdf file when i click image button. If anybody know this plz help me.
推荐答案
此处介绍了使用Adobe SDK的困难方法:
Acrord32.exe是Acrobat Reader应用程序的名称.
Sergey Chepurin.
The hard way using Adobe SDK is described here: Generate Thumbnail Images from PDF Documents.
The easy way is:
System.Diagnostics.Process.Start("Acrord32.exe", "C:\Temporary\test.pdf")
Acrord32.exe is the name of Acrobat Reader application.
Sergey Chepurin.
<a href="1004211.pdf">
<asp:Image ID="Image1" runat="server" ImageUrl="~/untitled.bmp" Height="50px"
Width="50px"/></a>
这篇关于单击图像按钮时如何打开pdf文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文