Header
Header
aaiglesias85
Posts: 25Questions: 8Answers: 0
How can put Header when export pdf . My header is a html twig
This question has accepted answers - jump to:
This discussion has been closed.
Answers
Hi @aaiglesias85 ,
You can use a
messageTop
like this example here, or you can usetitle
like this example here, orheader
like this example here.Cheers,
Colin
Thanks Colin
Hello Colin
But I need inlude a Html in my Header
doc['header']=(function(page, pages) {
return {
columns: [
{
alignment: 'left',
fontSize: 10,
text:title + here inlude my html
},
Hi @aaiglesias85 ,
It might be the case that pdfmake doesn't support HTML tags - it would be worth seeing if it works in their playground.
Cheers,
Colin
Hi @colin
Let me check
regards