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

documentation


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -