Is there any way to solve this? I tried to set width and height in mm. How can I set it to full-width?
The API changed since this commit, using version 1.4.1 it's now
var width = pdf.internal.pageSize.getWidth(); var height = pdf.internal.pageSize.getHeight();