Which product are you using?
PDF.js Express Viewer
PDF.js Express Version
‘6.3.3’
Detailed description of issue
tried aligning diagonal water mark to left side but no movement it will be in center of the screen,
Expected behaviour
water mark to be moved to left side
Does your issue happen with every document, or just one?
All the document
Code snippet
docViewer.setWatermark({
// Draw diagonal watermark in middle of the document
diagonal: {
fontSize: 25, // or even smaller size
fontFamily: ‘sans-serif’,
color: ‘grey’,
opacity: 50, // from 0 to 100
text: text,
left: ‘250px’,
},
// Draw header watermark
});