Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
121 views
in Technique[技术] by (71.8m points)

javascript - pdf.js中的单页渲染(Single page rendering in pdf.js)

Currently I am using build version from here https://mozilla.github.io/pdf.js/getting_started/#download

(目前我正在从这里使用构建版本https://mozilla.github.io/pdf.js/getting_started/#download)

I would like to show only one page of pdf at screen in normal mode (not presentation mode).

(我想在正常模式下(而非演示文稿模式)在屏幕上仅显示pdf的一页。)

Navigation between pages would be possible only through toolbar buttons.

(页面之间的导航只能通过工具栏按钮进行。)

Scrolling only works for moving the displayed page displayed page.

(滚动仅适用于移动显示的页面。)

I found something here https://github.com/mozilla/pdf.js/pull/8724 , but i don't know how to use it in my website.

(我在这里找到了一些东西https://github.com/mozilla/pdf.js/pull/8724 ,但是我不知道如何在我的网站中使用它。)

Could somebody help me with that?

(有人可以帮我吗?)

I can't find any example of using single page mode.

(我找不到使用单页模式的任何示例。)

  ask by julew translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...