Is there a way to get the current page no on PDFKIT js without relying on the page added event to increment the page variable like on the example below?.
doc.addListener('pageAdded', () => {
pos = 1;
page++;
});
Blancer.com Tutorials and projects
Freelance Projects, Design and Programming Tutorials
Is there a way to get the current page no on PDFKIT js without relying on the page added event to increment the page variable like on the example below?.
doc.addListener('pageAdded', () => {
pos = 1;
page++;
});