我正在使用pdfmake,我在base64中有一个类似于文档中的图像。
我怎样才能把图片放在标题前面?

extend: 'pdfHtml5',
orientation: 'landscape',
pageSize: 'A3',
sTitle: "id",
mDataProp: "id",
sWidth: '250%',[enter image description here][1]
customize: function(doc) {
doc.content.splice(1, 0, {
columns: [{
margin: 10,
alignment: 'left',
image: 'data:image/png;base64,/...',
width: 95,
height: 40,
},]
});
},发布于 2018-02-26 14:25:51
变化
doc.content.splice(1, 0, {
将是:
doc.content.splice(0, 0, {https://stackoverflow.com/questions/48956809
复制相似问题