I need include a Html in my Header
I need include a Html in my Header
aaiglesias85
Posts: 25Questions: 8Answers: 0
How can put Header when export pdf . My header is a html twig
Example
I need include a Html in my Header
doc['header']=(function(page, pages) {
return {
columns: [
{
alignment: 'left',
fontSize: 10,
text:title + here include my html
},
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Hi @aaiglesias85 ,
Is this same as your comment in this thread? If so, can this be closed?
Cheers,
Colin
Hi @colin,
I need include a Html in my Header, because in my Html(table,twig) ,I can make styles, look a image
regards
Yep, but as I said in the other thread, 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