PHP TCPDF remove header's bottom border

前端 未结 5 1740
隐瞒了意图╮
隐瞒了意图╮ 2020-12-30 21:06

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?

5条回答
  •  北荒
    北荒 (楼主)
    2020-12-30 21:51

    This works for some versions:

    // Call before the addPage() method
    $pdf->SetPrintHeader(false);
    $pdf->SetPrintFooter(false);
    

提交回复
热议问题