Header
Header
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.
How can put Header when export pdf . My header is a html twig
This question has accepted answers - jump to:
Answers
Hi @aaiglesias85 ,
You can use a
messageToplike this example here, or you can usetitlelike this example here, orheaderlike 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