I am trying to create a header in TCPDF, however it always have a border underneath of it. Is there a way I can remove the bottom border?
This works for some versions:
// Call before the addPage() method $pdf->SetPrintHeader(false); $pdf->SetPrintFooter(false);
If you don't want to subclass or change the tcpdf source just call the setHeaderData
method and specify white line color.
$pdf->setHeaderData('',0,'','',array(0,0,0), array(255,255,255) );
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With