将 Foxit PDF Reader 嵌入网页
我需要将Foxit Reader(PDF阅读软件)嵌入到网页中。 有谁知道以下代码中使用的正确的 classid 和参数:
<object id="pdfReaderObj" classid="CLSID:XXXX" width="500" height="700">
<param name="Filename" value="/1234-56789-abc-123-3.pdf">
<param name="SRC" value="/1234-56789-abc-123-3.pdf">
You must install Foxit Reader to view this document.
</object>
此外,如果有人有企业部署、静默安装、注册表设置等经验。这些也将受到欢迎。
谢谢
I need to embed Foxit Reader (PDF reading software) into a web page. Does anybody know the correct classid and parameters to use in the following code:
<object id="pdfReaderObj" classid="CLSID:XXXX" width="500" height="700">
<param name="Filename" value="/1234-56789-abc-123-3.pdf">
<param name="SRC" value="/1234-56789-abc-123-3.pdf">
You must install Foxit Reader to view this document.
</object>
Additionally if anyone has experience of enterprise deployment, silent installation, registry setting etc. These would also be welcomed.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
福昕阅读器本身不包含任何嵌入式组件; 为此,他们有 Foxit Reader ActiveX,这是一个单独分发的付费组件读者。 例如,标准 ActiveX 版本可以通过以下方式嵌入到网页中:(
我不是 Web 开发人员,因此这段代码可能远非完美,但它应该可以帮助您了解想法。)
如果使用 Foxit Reader ActiveX 不适合您,请查看此问题 其中讨论了显示 PDF 内容的其他可能方式。
Foxit Reader itself doesn't include any embeddable components; they have Foxit Reader ActiveX for this purpose, which is a paid component distributed separately from the Reader. For example, the Standard ActiveX version can be embedded into a web page in the following way:
(I'm not a web developer, so this code may be far from perfect, but it should help you get the idea.)
If using Foxit Reader ActiveX is not an option for you, take a look at this question which discusses other possible ways of displaying PDF content.