我想在我的 Windows 窗体程序上显示一些 pdf。
当我在我的电脑上选择一个 pdf 时,下面的代码正在运行:
axAcroPDF1.LoadFile("C:\\Users\\X260\\Desktop\\TP100.pdf");
但是如果我从 URL 中选择 pdf,则代码将不起作用。它没有给出错误,但我只看到一个空白页。
path = "https://" + "www.massgrup.com/mask/Sertifikalar" + "/" + yol;
axAcroPDF1.LoadFile(path);
我如何在 Windows 窗体上显示来自 url 的 pdf?
试试这个
axAcroPDF1.src = 路径;