有没有办法从嵌入的PDF对象中删除Adobe边框

有没有办法从嵌入的PDF对象中删除Adobe边框

本文介绍了有没有办法从嵌入的PDF对象中删除Adobe边框?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图从我的网页上的嵌入式PDF中移除标准PDF框架。我只想让PDF显示出来,而不需要顶部的工具栏和页面的粗黑框。我不希望打印,保存或任何影响页面外观的内容。下面是我使用的代码:

 < object data =update404.pdftype =application / pdfwidth =693height =1130> 
< / object>

预先感谢您的帮助!

://github.com/mozilla/pdf.jsrel =nofollow> https://github.com/mozilla/pdf.js



FlexPaper


I'm trying to remove the standard PDF frame from an embedded PDF on my page. I'd like just the PDF to show up without the toolbar on top and thick black frame from the page. I don't want the print, save, or anything to effect the look of the page. Below is the code I am using:

<object data="update404.pdf" type="application/pdf" width="693" height="1130">
</object>

Thank you in advance for your help!

解决方案

Using object to embed PDF documents is not recommend - it will render different results in different devices and browsers and there is no way to make sure that it will look like you intend to. Have a look at the following projects for a better way to embed your project

PDF.JShttps://github.com/mozilla/pdf.js

FlexPaperhttp://flexpaper.devaldi.com

这篇关于有没有办法从嵌入的PDF对象中删除Adobe边框?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-25 17:22