jsPDF
jsPDF copied to clipboard
How to add SVG from path?
Maybe silly question...
I use doc.addSvg(svgPath, imgX, imgY, imgWidth, imgHeight); but the addSvg expects the SVG data. How can I do that?
Please help...
Well you have to load the file. You could use e.g.
jsPDFAPI.loadImageFile = function (path, sync, callback)
But you should figure it out...
@focussing were you able to find solution for adding SVG with path ?