Image pdfmake customization
Image pdfmake customization
ZamuPaz
Posts: 12Questions: 2Answers: 0
Hello
I'm using pdfmake and I have a iamgen in base64 like this in the documentation.
How can I put the image before the title?
....
extend: 'pdfHtml5',
orientation: 'landscape',
pageSize: 'A3',
sTitle: "id",
mDataProp: "id",
sWidth: '250%',
title: "Programación Naves: Datos Históricos",
customize: function(doc) {
doc.content.splice(1, 0, {
columns: [{
margin: 10,
alignment: 'left',
image: 'data:image/png;base64,/...',
width: 95,
height: 40,
},]
});
},
thank u for answer !
This discussion has been closed.
Replies
Change:
to be:
Allan
Ty @allan