I'm using TCPDF in CakePHP and trying to make some background (grey) for few cells. Well here the idea:
so the grey thing would somehow have to be define outside of the cells containg text.
Any ideas?
Paul
try this.
$this -> TCPDF -> SetFillColor(249,249,249); // Grey
$this -> TCPDF -> Cell(95,$cellHigh,$data,'L',0,'L',$fill,'',0,false,'T','C');
The TCPDF example No. 5 will give you different background colors.
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