Relative Content

Tag Archive for jspdfhtml2canvasreact-pdf

React PDF content Height Calculations using html2canvas, jsPDF

I have this code to generate a pdf using html2canvas and jspdf. I have header and footer in all pdf pages and signature in first page(only). I have two questions.
1- how can I move content to next pdf page when it reaches the signature area?
2- how can I add margin so that content doesn’t overlap with header and footer?.
here is the code