jsPDF
jsPDF copied to clipboard
Hi, How to add canvas image in between the other jsPdf elements
Hi, I have converted the particular div tag into canvas using html2canvas and I need to add this converted canvas image with other JsPdf elements like Autotables and texts.
Thanks.
If you use html2canvas, you draw a canvas. You can simply add the canvas as any other imageData with addImage. But be aware that html2canvas is asynchronous.