I need include a Html in my Header

I need include a Html in my Header

aaiglesias85aaiglesias85 Posts: 25Questions: 8Answers: 0
edited May 2018 in Free community support

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

Answers

  • colincolin Posts: 15,154Questions: 1Answers: 2,587

    Hi @aaiglesias85 ,

    Is this same as your comment in this thread? If so, can this be closed?

    Cheers,

    Colin

  • aaiglesias85aaiglesias85 Posts: 25Questions: 8Answers: 0
    edited May 2018

    Hi @colin,

    I need include a Html in my Header, because in my Html(table,twig) ,I can make styles, look a image

    regards

  • colincolin Posts: 15,154Questions: 1Answers: 2,587
    Answer ✓

    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

This discussion has been closed.