php - Add padding to a cell in TCPDF -
i have make invoices tcpdf. have logo on top of pdf , title of company has come right next it.
now i'm doing this:
$pdf->image(__dir__.'/../../../assets/img/logo.png', 15, 10, 10, 0); $pdf->cell(110, 0, 'company', 0, 0, 'l', 0, '', 3);
but "company" on top of logo now. there way add padding left on cell?
try using:
$pdf->image(__dir__.'/../../../assets/img/logo.png', 15, 10, 10, 0, null, null,'t');
Comments
Post a Comment