pdf reader js library

Solutions on MaxInterview for pdf reader js library by the best coders in the world

showing results for - "pdf reader js library"
Jaqueline
08 Apr 2017
1<div id="adobe-dc-view" style="height: 360px; width: 500px;"></div>
2<script src="https://documentcloud.adobe.com/view-sdk/main.js"></script>
3<script type="text/javascript">
4  document.addEventListener("adobe_dc_view_sdk.ready", function(){
5    var adobeDCView = new AdobeDC.View({clientId: "<YOUR_CLIENT_ID>", divId: "adobe-dc-view"});
6    adobeDCView.previewFile({
7      content:{ location: 
8        { url: "https://documentcloud.adobe.com/view-sdk-demo/PDFs/Bodea%20Brochure.pdf"}},
9      metaData:{fileName: "Bodea Brochure.pdf"}
10    },
11    {
12      embedMode: "SIZED_CONTAINER"
13    });
14  });
15</script>
16