locked
Scroll a pdf RRS feed

  • Question

  • Am able to add a PDF file using WindowsFormsHost to the surface app. But not able to scroll it using the finger option, its working if am using the mouse option. Any Help??
    Monday, September 24, 2012 6:51 AM

Answers

  • Try the way I explain it should work.
    I have upload the sample project here

    Thnaks to mark as answer if it helps

    reagrds

    serge


    Your knowledge is enhanced by that of others.

    Monday, September 24, 2012 8:08 PM

All replies

  • I guess you are using inside your WindowsHost a PDF reader whcih is not supporting touch.
    There is no PDF reader in Surface if you wan to implement a PDF reader kind you need to export your PDF pages in graphig file and handle a customer viewer, like scatter photo or Content document.

    An other approach is to print your PDF file to the XPS printer and then display the document in a Document as describe here in this post

    hope it helps

    serge


    Your knowledge is enhanced by that of others.


    Monday, September 24, 2012 7:21 AM
  • thanks Serge for ur time. Previously I was tried with XPS but for some xps documents it scrolls well using the scroll bar but when u will touch or click on the document it throws exception "Cannot find non-neutral culture related to 'und'.". 


    Monday, September 24, 2012 10:09 AM
  • Try the way I explain it should work.
    I have upload the sample project here

    Thnaks to mark as answer if it helps

    reagrds

    serge


    Your knowledge is enhanced by that of others.

    Monday, September 24, 2012 8:08 PM