Skip to main content
Inspiring
September 18, 2020
Answered

How set zoom 100%?

  • September 18, 2020
  • 1 reply
  • 811 views

How set zoom 100%, when `embedMode: "FULL_WINDOW"` and `defaultViewMode: "FIT_WIDTH"`?

 

You need to set the width of the document that has a plus scrollbar, plus margins?

 

Or load a document, check zoom from...

`await apis.getPageZoom(pageNumber)`
...and calculate with the width of the container containing the document.
 
There is a better method?
This topic has been closed for replies.

1 reply

look997AuthorCorrect answer
Inspiring
September 26, 2020