Embedded Google Document Viewer (PDF): How to scroll horizontal

3.5k views Asked by At

i've embedded google doc viewer api to show a pdf on a website:

    <div class="row" style="text-align: center;">
        <iframe src="http://docs.google.com/gview?url=http://infolab.stanford.edu/pub/papers/google.pdf&embedded=true" align="middle" style="width:90%; height:500px;" frameborder="0"></iframe>
    </div>

I did look for some kind of documentation to see all available parameters for the passed url. However I did not find any. Basically i want to make the Google PDF Viewer to scroll horizontally instead of vertically. (expecting somth. like "&scroll=horizontally"). Can anyone help ?

Thanks

1

There are 1 answers

2
Devsome On

Afaik this is not possible. You can download the PDF and use any libary to handle the PDF from your Server so you don't need to use iframe.