📅  最后修改于: 2022-03-11 15:01:08.035000             🧑  作者: Mango
代码示例1
var doc = new jsPDF();
doc.text(10, 10, 'Hello world!');
doc.addImage(myImage, 'JPEG', 10, 30, 150, 76);
doc.save('a4.pdf');