【发布时间】:2023-04-05 18:27:01
【问题描述】:
我有一个显示.PDF 文件的 ASP.NET 网络表单(使用 VB.NET)。当用户在 pdf 文件上选择一个单词时,是否可以将数据输入到文本框中?我们可以使用文本框中的数据导出 pdf 文件,但我不知道相反的方式。
我像这样在我的网络表单上调用了我的 pdf 文件。
Dim embed As String = "<object data=""{0}"" type=""application/pdf"" width=""2000px"" height=""1000px"">"
embed += "If you are unable to view file, you can download from <a href = ""{0}"">here</a>"
embed += " or download <a target = ""_blank"" href = ""http://get.adobe.com/reader/"">Adobe PDF
Reader</a> to view the file."
embed += "</object>"
ltEmbed.Text = String.Format(embed, ResolveUrl("~/uploads/" + pdf_name))
希望有人可以指导我,对不起我的英语。
【问题讨论】:
-
@KJ Tz 你的详细信息。现在我可以向其他人解释问题所在了。
-
@KJ 再次感谢。这真的很容易理解。