TCPDF set different headers for different pages in one document

后端 未结 8 624
终归单人心
终归单人心 2021-02-08 04:50

Is there a way to have a different header logo for the 1st page in a document and different for the 2nd page?

I thought that changing the header data between adding page

8条回答
  •  迷失自我
    2021-02-08 05:42

    I used:

    $pdf->resetHeaderTemplate();
    

    It should override the template header and assign the new one according to need. It worked for me.

提交回复
热议问题