Hi
WebBrowser object in PB 2022 has a new feature. PDFs are shown in pagemode (list of pages on the left side). Is it possible to turn it off? In previous versions a limited subset of Adobe parameters was implemented. In the current version it seems none of them work.
Example:
http://server/some.pdf#view=Fit&pagemode=none&statusbar=0&messages=0&toolbar=0&navpanes=0
Is it possible to turn it off in some other way? Like through WebBrowserSet?
Unfortunately I've to stay compatible with Adobe Reader DC syntax because I use 3D PDFs, PDFs with signatures etc.
my magical formula is this:
http://server/file.pdf#view=Fit&pagemode=none&statusbar=0&messages=0&toolbar=0&navpanes=0
The '#' is important here and mustn't be changed to '?'.
This turns off all the "features" Adobe is trying to sell and it works with CEF too.
I did some tests and for me file:///C:/Users/a.mykonios/Desktop/file.pdf#view=Fit&toolbar=1&statusbar=1&navpanes=1&pagemode=none&page=2 will not work fine. Only params view, toolbar and page seem to work. As a result, in my tests, it was impossible to display toolbar and hide panels, as Mark states.
Andreas.
Thanks for your replies. Not a huge deal to not be able to suppress the left page pane, just something that would be nice to have. Or at the least, be able to retain the settings once you click on the Menu in the upper left to suppress the left page pane for the next time the application is launched.
Mark