Create a PDF document template: Difference between revisions

Jump to navigation Jump to search
m
add d on width, before with
m (path added "htdocs/includes/tecnickcom/tcpdf/tcpdf.class.php" because file was not found under previous shown path. Left old path written, because it was not possible to proove that old path is not correct in older Dolibarr Versions)
m (add d on width, before with)
Line 103: Line 103:
$pdf->Image('\www\htdocs\dolibarr\document\societe\logo.jpg', 10, 5, 60.00);
$pdf->Image('\www\htdocs\dolibarr\document\societe\logo.jpg', 10, 5, 60.00);
</syntaxhighlight>
</syntaxhighlight>
With this example: 10=abscissa, 5=ordinate, 60=with of logo
With this example: 10=abscissa, 5=ordinate, 60=width of logo


*If the logo is on or outside existing text, remove existing text by commenting the code that outputs the text or by changing its position.
*If the logo is on or outside existing text, remove existing text by commenting the code that outputs the text or by changing its position.
6

edits

Navigation menu