如何指定参数google chrome adobe pdf查看器? [英] How to specify parameters to google chrome adobe pdf viewer?

查看:494
本文介绍了如何指定参数google chrome adobe pdf查看器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有这样的嵌入代码:

<embed src="../../Content/PDF/StockReport.pdf#zoom=50" width="100%" height="100%">

#zoom = 50是一个参数,通知PDF阅读器放大到50%。
这适用于所有浏览器,但谷歌chrome,因为chrome有一个内置的pdf查看器。

the #zoom=50 is a parameter that tells the pdf reader to zoom to 50%. This works in all browsers but google chrome because chrome has a built in pdf viewer.

如何将此相同的参数传递给google chrome的pdf查看器?

How can I pass this same parameter to google chrome's pdf viewer ?

推荐答案

检查各种Chrome错误报告后,我们可以确认Google Chrome浏览器是否忽略Adobe PDF查看器的默认功能。在这个答案的时候,没有办法传递参数(如缩放)到Chrome PDF查看器。

After checking various chrome bug reports, I can confirm that Google Chrome ignores the default functionality of Adobe PDF viewer. At the time of this answer there is no way to pass parameters (like zoom) to the Chrome PDF viewer.

这篇关于如何指定参数google chrome adobe pdf查看器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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