问题描述
我使用 TWebBrowser
从在线 HTML 页面中的 iframe 中提取了一个 URL,该 URL 检索了一个 PDF 文件。如何使用 TWebBrowser
在本地将此回复保存在文件中?
字符串 content4 := WebBrowser4.OleObject.Document.documentElement.innerHTML;
中的行
看起来像这样:
<iframe name="msdsPageFrame" width="1000" height="1200" id="msdsPageFrame" src="/MSDS/MSDS/PrintMSDSAction.do?name=msdspdf_210370071046219" style="z-index: 1;"></iframe>
这是 Delphi 10.1 中的演示源代码,带有 TWebBrowser
ZIP-Standard_Delphi_10.1
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)