从网络路径预览PDF [英] Preview PDF from network path

查看:264
本文介绍了从网络路径预览PDF的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从页面本身的共享路径,div或任何其他容器中预览我的PDF。我可以在整页中显示它,但我需要它显示在div中。我把文档作为字节数组。是否可以使用Jquery显示。

解决方案

请特别注意: https://code.msdn.microsoft.com/ASPNET-Document-Viewer-e7c2a39f [ ^ ]。



同样的方法可用于显示整页文档。我不确定你目前是否真的展示了这个观点。如果你依赖于浏览器的Adobe插件,它就不算数了,因为这不是你可以依赖的标准。



-SA

I want to preview my PDF from shared path in the page itself, inside a div or any other container. I can show it in the fullpage, but I need it to be shown inside a div. I have the document as a byte array. whether it can be shown using Jquery.

解决方案

Please see, in particular: https://code.msdn.microsoft.com/ASPNET-Document-Viewer-e7c2a39f[^].

The same approach can be used to show the document in a full page. I am not sure you currently really show the view. If you are relying on the browser's Adobe plug-in, it does not count, because this is nothing standard you can rely on.

—SA


这篇关于从网络路径预览PDF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆