I am working with pdfmake and I want to increase the height of the footer in my PDF document.
Here is the code I have for the footer:
footer: function (currentPage, pageCount) {
return {
height: 40,
table: {
widths: ['*', 100],
body: [
[
{ text: 'some information', alignment: 'center', fontSize: 9, },
],
[
{ text: 'some more information', alignment: 'center', fontSize: 9, },
],
[
{ text: 'and even more information', alignment: 'center', fontSize: 9, },
],
[
[{ text: 'Page ' + pageCount, alignment: 'right', margin: [5], fontSize: 5, }]
]
]
},
layout: 'noBorders'
};
},
Even though I tried setting the height property to a higher number like 80, it didn't change the height of the footer. How can I resolve this issue? Thank you for your assistance.