var myWebViewer = new PDFTron.WebViewer({ type: 'html5', path: '../../lib',
//l: replace with your own license key and remove the samples-key.js script tag initialDoc: 'doc_url', documentType: 'pdf', documentId: getDocId('doc_url'), config: 'config.js', enableAnnotations: false, }, viewerElement);
var myWebViewer = new PDFTron.WebViewer({ type: 'html5', path: '../../lib',
//l: replace with your own license key and remove the samples-key.js script tag
initialDoc: 'doc_url', documentType: 'pdf', documentId: getDocId('doc_url'), config: 'config.js', enableReadOnlyMode: true, }, viewerElement);