natancabral / pdfkit-table

Helps to draw informations in simple tables using pdfkit. #server-side. Generate pdf tables with javascript (PDFKIT plugin)
MIT License
93 stars 59 forks source link

Last y co-ordinate Position #75

Closed ammar-ne closed 1 year ago

ammar-ne commented 1 year ago

Hi ,

Is there a way to know the last yPos after the .text (...) execution ? I need to repeat the Header on each page after a certain amount content is written to PDF.

ammar-ne commented 1 year ago

figured out its was doc.y