Embed PDF Viewer to display PDF file's stored in the DAM on the page.
The viewing area renders in the full browser. Best suited for storage and productivity applications.
- showPrintPdf: true
- dockPageControls: true
- documentPath: /content/dam/core-components-examples/library/sample-assets/Bodea Brochure.pdf
- defaultViewMode: FIT_PAGE
- type: FULL_WINDOW
- showPageControls: true
- showLeftHandPanel: true
- showFullScreen: true
- showDownloadPdf: true
- showAnnotationTools: false
- sling:resourceType: core-components-examples/components/pdfviewer
- borderless: false
The sized container mode displays PDFs in a boxed container with landscape orientation. Best suited for presentations.
- showPrintPdf: true
- dockPageControls: false
- documentPath: /content/dam/core-components-examples/library/sample-assets/Bodea Brochure.pdf
- defaultViewMode: FIT_PAGE
- type: SIZED_CONTAINER
- showPageControls: false
- showLeftHandPanel: true
- showFullScreen: false
- showDownloadPdf: true
- showAnnotationTools: false
- sling:resourceType: core-components-examples/components/pdfviewer
- borderless: false
All PDF pages rendered in line within a web page. Best suited for reading applications.
- showPrintPdf: true
- dockPageControls: true
- documentPath: /content/dam/core-components-examples/library/sample-assets/Bodea Brochure.pdf
- defaultViewMode: FIT_PAGE
- type: IN_LINE
- showPageControls: true
- showLeftHandPanel: true
- showFullScreen: true
- showDownloadPdf: true
- showAnnotationTools: false
- sling:resourceType: core-components-examples/components/pdfviewer
- borderless: false