Customize The PDF Viewer When Embedding A PDF - Tinytip
Có thể bạn quan tâm
Skip to contentCustomize the PDF viewer when embedding a PDFMarch 4, 2022#html #pdf
If you want to embed a PDF document on your website you can use an iFrame. The browser will automatically render a PDF viewer.
Google Chrome, Firefox and Safari accept some parameters to customize the viewer. Add the parameters as part of the url fragment (after the #). Multiple parameters can be separated by &.
<iframe src="/path/to/document.pdf#toolbar=0"></iframe>The following parameters are supported:
| Parameter | Value | Description | Support |
|---|---|---|---|
| toolbar | 1, 0 | Show or hide the toolbar | Chrome |
| view | FitV, FitH, Fit | Change the zoom level to fit (vertical, horizontal or both) | Chrome |
| zoom | number | Set a specific zoom level in % (example: 300) | Chrome, FF |
| page | number | Set initial position to a specific page (example: 2) | Chrome, FF, Safari |
| nameddest | string | Set initial position to a named destination (like a heading) | Chrome |
| search | string | Search for a string in the document | FF |
#html
- Edit any website in design mode
- The CSS list-style property affects screen readers
- Let VoiceOver on iOS read a split element as a single element with the text role
Từ khóa » Html Google Pdf Viewer
-
Embed Google Docs PDF Viewer In IFRAME - Stack Overflow
-
Google Pdf Viewer - CodePen
-
Embed PDFs With Google PDF Viewer - Gists · GitHub
-
Embed PDF From Google Drive - Classic Google Sites
-
How To Embed PDF In HTML - W3docs
-
How To Embed A PDF In An HTML Website | PDF.js Express
-
How To Embed A PDF In HTML Without The Ability To Download
-
Method To View PDF Documents On Your Websites - Medium
-
PDF Embed API | Embed PDF In HTML | Adobe Document Services
-
A Better Way To Embed PDF Documents In Web Pages
-
How To Use Chrome PDF Viewers - Adobe
-
Embed Google Docs Document And PDF Files Within Your Web Page