Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jspdf add page

doc = new jsPdf();
...
pageHeight= doc.internal.pageSize.height;

// Before adding new content
y = 500 // Height position of new content
if (y >= pageHeight)
{
  doc.addPage();
  y = 0 // Restart height position
}
doc.text(x, y, "value");
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jspdf #add #page
ADD COMMENT
Topic
Name
9+9 =