Hello, I’m using PDF.js Express Viewer UI version 8.7.0, Core version 8.7.4, webviewer.min.js 8.7.4.
I’m using it as a local file because I don’t have a webserver on the device and I created a free license key, but I always see the PDF.js Express logo on PDFs. It happens on every document.
This is the code of how I initialize the library:
WebViewer({
path: 'lib', // path to the PDF.js Express'lib' folder on your server
licenseKey: 'XXXX',
initialDoc : pdfUrl,
disabledElements : [
'viewControlsButton',
'viewControlsOverlay',
'panToolButton',
'fitButton',
'selectToolButton',
'toolsButton',
'searchButton',
'leftPanelButton',
'freeHandToolGroupButton',
'highlightToolButton',
'highlightToolButton2',
'highlightToolButton3',
'highlightToolButton4',
'underlineToolButton',
'squigglyToolButton',
'strikeoutToolButton',
'textToolGroupButton',
'shapeToolGroupButton',
'rectangleToolButton',
'ellipseToolButton',
'lineToolButton',
'arrowToolButton',
'polylineToolButton',
'polygonToolButton',
'cloudToolButton',
'eraserToolButton',
'signatureToolGroupButton',
'freeTextToolButton',
'stickyToolButton',
'miscToolGroupButton',
'calloutToolButton',
'stampToolGroupButton',
'rubberStampToolGroupButton',
'fileAttachmentToolGroupButton',
'cropToolButton',
'toolsButton',
'searchButton',
'menuButton',
]
}
I would like to remove the PDF.js Express logo on the documents.
Can anyone help me? Thank you!