0

I'm using WebBrowser to show PDF files.

<WebBrowser x:Name="Browser"/>

Browser.Navigate("C:\\Foo.pdf#page=2&view=Fit&toolbar=0&scrollbar=0");

By setting startup parameters (see here: https://stackoverflow.com/a/4516157/6229375) it is possible to change the layout of the adobe reader plugin.

It is possible to ineract with the plugin after it has been loaded in the WebBrowser? For example jump to page x?!

The user has to change the pages by tap left or right (on screen). When using Page down or Page up I have two problems:

  1. The user has no Keyboard. Only a touch monitor
  2. The page does not fit exactly anymore after some page changes

Adobe Parameter list:

Dominic Jonas
  • 4,717
  • 1
  • 34
  • 77
  • There are other ways to embed PDF, though they come with their own limitations. I don't know if it's appropriate for your application, but it is possible to embed a PDF into a windows form or WPF application via use of embedding a COM control. The limitation of course being that you cannot hide the nav pane. – Alexander Ryan Baggett Aug 10 '18 at 21:48
  • See if [this](https://stackoverflow.com/a/18890500/1768303) helps. – noseratio Aug 13 '18 at 21:01

1 Answers1

0

As a workaround solution to fix the following problems:

The page does not fit exactly anymore after some page changes

Change the default settings in the adobe reader to "only one page per view".

The user has no Keyboard. Only a touch monitor

Simulate the Keyboard events

Dominic Jonas
  • 4,717
  • 1
  • 34
  • 77