PHP TCPDF remove header's bottom border

前端 未结 5 1735
隐瞒了意图╮
隐瞒了意图╮ 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 22:05

    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) );  
    

提交回复
热议问题