0
I have this script that generates a pdf of a div
. Bad images that contain in div
are not generated in the pdf
, someone can help me?
$('#downloadpdf').click(function()
{
var doc = new jsPDF('landscape', 'pt', 'a4');
doc.addHTML($('#dowextrato'), function()
{
doc.save("relatorio-<?php echo $Pnome; ?>.pdf");
});
});
That was perfect! Now, without wanting to abuse: "15,40,180,160" which are the positions?
– Lucas Bicalleto
The parameters are: doc.addImage(image, 'image format', x, y, image width, image height);
– Netinho Santos
Thanks a friend, thanks a lot!
– Lucas Bicalleto