var pdf = new jsPDF();. 4. var img = new Image;. 5. img.onload = function() {. 6. pdf.addImage(this, 10, 10);. 7. pdf.save("test.pdf");.
確定! 回上一頁