bpampuch / pdfmake

Client/server side PDF printing in pure JavaScript
http://pdfmake.org
Other
11.73k stars 2.05k forks source link

Align watermark to left side of the page #1844

Open Rupali-Mehta opened 5 years ago

Rupali-Mehta commented 5 years ago

I want to align watermark to the left side of my page. The ask is to place a text vertically in header/footer which is currently not supported by pdf make. As a workaround i am able to achieve this using watermark and rotating the text to an angle of 270. However, the text is coming in the center. I want to place it in lower left bottom of the page.

watermark: { text: 'Licensed to rupali', angle: 270,fontSize: 12, color:'#e8eae', alignment:'left',margin:[0,0,24,0]}

Please suggest the same.

vijaytsaksoft commented 2 years ago

@liborm85 Do we have this feature in-place on some version?