Gokul
May 11, 2021, 7:47am
1
PDF.js Express Version - 7.3.1
Detailed description of issue
Looking to set the default page transition as “Page by page” instead of continuous. How to change it, unable to find relevant methods in API. Please help as early as possible.
Expected behaviour
Does your issue happen with every document, or just one?
Yes
Hello, I’m Ron, an automated tech support bot
While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:
Guides:
APIs:
Forums:
Logan
May 11, 2021, 4:03pm
3
Hey there!
You can use the setLayoutMode
API for this:
instance.setLayoutMode(instance.LayoutMode.Single);
Thanks,
Logan
Gokul
May 19, 2021, 8:48am
4
Thanks for your response Logan. But your suggestion is to set the “Layout Mode”. I want to set the “Transistion”. Please help me. Thanks
Logan
May 19, 2021, 2:12pm
5
Hi,
It’s a poorly named API, but that does actually set the transition. Transitions and page layouts are very closely related.
Thanks!