Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jspdf attach image file

var doc = new jsPDF();

doc.text(10, 10, 'Hello world!');

doc.addImage(myImage, 'JPEG', 10, 30, 150, 76);

doc.save('a4.pdf');
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jspdf #attach #image #file
ADD COMMENT
Topic
Name
6+3 =