Can I hide the Adobe floating panel when displaying PDF in a browser?

I create a PDF document and display it in a web browser (the current version of IE is the most important goal). I want to suppress a floating toolbar (see below) that appears and disappears depending on the movement of the mouse.

Is there any way to suppress this? I can manage a PDF document (it was created using itextpdf), as well as with a URL.

Adobe Reader floating toolbar

+4
source share
3 answers

What you are looking for is impossible. Read the answer from Leonard Rosenthal (Adobe PDF Architect) on the iText mailing list: http://thread.gmane.org/gmane.comp.java.lib.itext.general/55112/focus=55120

Starting with version X of Adobe Reader, there is a new mode called “Reading Mode,” which is the default viewing mode when opening a PDF file in a web browser. In the "reading mode" you can find a translucent floating panel that contains basic reading controls, such as page navigation, printing and scaling.

Canceling "Display in default reading mode" can be done using "Edit"> "Settings"> "Internet" in Adobe Reader X, but there is no way to programmatically disable the "reading mode".

+3
source

I think this is user preference.

What you can do is add #toolbar=0 to the end of the URL.

For instance,

 http://DOMAIN/FILE_NAME.pdf#toolbar=0 

Something you can do is:

 <embed src="MyFile.pdf#toolbar=0&scrollbar=0&navpanes=1" width="530" height="300" /> 

For more information on parameters, see PDF Open Parameters .

+4
source

In this way:

myPdfView.put_src ("D: \ Recomendations.pdf # toolbar = 0 & navpanes = 0 & = 0 scroll bar");

Welcome...

-3
source

Source: https://habr.com/ru/post/1438049/


All Articles