![]() ![]() This example shows how to hide or remove the toolbar, navpanes, and scrollbar of the PDF file opened in HTML using parameters in URL. ĭisable and Hide Toolbar in PDF Web Viewer ![]() Actions are executed from left to right and later actions will override the previous actions. Each parameter should be separated with either an ampersand ( &) or a pound ( #) character. You can specify multiple parameters in the URL. navpanes=1|0 – Turns the navigation panes and tabs on or off.statusbar=1|0 – Turns the status bar on or off.toolbar=1|0 – Turns the toolbar on or off.scrollbar=1|0 – Turns scrollbars on or off.view=Fit – Set the view of the displayed page.For example, a scale value of 100 indicates a zoom value of 100%. zoom=scale – Sets the zoom and scroll factors, using float or integer values.The document’s first page has a pagenum value of 1. page=pagenum – Specifies a number (integer) of the page in the document.The following parameters are commonly used to embed PDF file in HTML or open in the browser. Using parameters in the URL, you can specify exactly what to display and how to display PDF documents. Now we will show how you can control the PDF document view on the web page. Use the following code to embed the PDF file in the HTML web page. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |