Embed PDF File in HTML

Use the following code to embed the PDF file in the HTML web page.

PDF Document View Configuration

Now we will show how you can control the PDF document view on the web page. Using parameters in the URL, you can specify exactly what to display and how to display PDF documents.

The following parameters are commonly used to embed PDF files in HTML or open in the browser.

page=pagenum
Specifies a number (integer) of the page in the document. The document’s first page has a pagenum value of 1.
zoom=scale
Sets the zoom and scroll factors, using float or integer values. For example, a scale value of 100 indicates a zoom value of 100%.
view=Fit
Set the view of the displayed page.
scrollbar=1|0
Turns scrollbars on or off.
toolbar=1|0
Turns the toolbar on or off.
statusbar=1|0
Turns the status bar on or off.
navpanes=1|0
Turns the navigation panes and tabs on or off