Relative Content

Tag Archive for pdfkit

How to prevent auto page adding in PDFKit

I’m using PDFKit in nodejs. When you add some content (images, in my case) that overflows the page it’s added on, pdfkit will automatically add a new page. I need to prevent that, and I couldn’t find how to do it. Another way would be to remove the added page, but here again, I couldn’t find how to remove a page with PDFKit. Any ideas?