HTTPResponse - 浏览器缩放大小

发布于 2024-09-04 00:19:25 字数 67 浏览 2 评论 0原文

有没有办法控制 contenttype ='application/pdf' 的 HTTPResponse 的缩放大小?

Is there a way to control the zoom size of the HTTPResponse with the contenttype ='application/pdf'?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

臻嫒无言 2024-09-11 00:19:25

我试试这个,它有效。

download.ashx?id=1&#zoom=100

i try this it work.

download.ashx?id=1&#zoom=100

奈何桥上唱咆哮 2024-09-11 00:19:25

请参阅 PdfOpenParameters.pdf 了解更多选项列表传递到 PDF 查看器。

例如,view=Fit 是我最喜欢的

在 URL 中指定 PDF 打开参数 还有一些示例,并且还链接到我上面引用的 pdf。


另请参阅:SO:ASP.Net 查看 PDF

See PdfOpenParameters.pdf for a larger list of options you can pass into the PDF viewer.

For example, view=Fit is a favorite of mine

Specifying PDF Open Parameters in a URL has a few more examples, and also links to the pdf I cite above.


See Also: SO:ASP.Net View PDF

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文