Edge 中嵌入式 PDF 的默认缩放

Default zoom for embedded PDF in Edge

我想放大嵌入的 PDF。 PDF 是这样嵌入的:

<embed width="500" height="800" src="/path/to/file.pdf" type="application/pdf"></embed>

我希望 PDF 在初始化时缩放(例如 120%)。我知道如果在 Internet Explorer 中使用 Adob​​e 插件,这是可能的。但是在 Edge 中,使用的是默认的 Edge 插件,我找不到任何选项来实现这一点。

有没有人知道是否可行以及如何实现?

看起来无法为 MS Edge (EDGE HTML) 浏览器缩放嵌入的 PDF。

如果您可以使用 MS Edge (Chromium) 浏览器,那么您可以通过在文件名中添加缩放参数来缩放 PDF。

 <embed width="500" height="800" src="http://www.africau.edu/images/default/sample.pdf?#zoom=120" type="application/pdf"></embed>

示例:

 <!DOCTYPE html>
    <html>
      <head>
        <title>Title of the document</title>
      </head>
      <body>
       <iframe width="500" height="800" src="http://www.africau.edu/images/default/sample.pdf?#zoom=120"></iframe>
       <object width="500" height="800" data="http://www.africau.edu/images/default/sample.pdf?#zoom=120" type="application/pdf"></object>
       <embed width="500" height="800" src="http://www.africau.edu/images/default/sample.pdf?#zoom=120" type="application/pdf"></embed>
      </body>
    </html>

MS Edge (Chromium) 浏览器中的输出: