I have a html page. In which I have a button , whenerever I click this button it will convert the entire html page into data image using html2canvas and placed it into PDF u
var pdf = new jsPDF(); pdf.addImage(image1, 'JPEG', 10, 10); pdf.addImage(image2, 'JPEG', 10, 90); pdf.addImage(image3, 'JPEG', 10, 170) pdf.addPage(); pdf.addImage(image4, 'JPEG', 10, 10) pdf.addImage(image5, 'JPEG', 10, 140) pdf.save("download.pdf");