Re: TCPDF line breaks [SOLVED]
| From: | Dave M G | Date: | Wed, 23 Dec 2009 05:08:46 +0000 |
| Subject: | Re: TCPDF line breaks [SOLVED] | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-300641@lists.php.net to get a copy of this message | ||
Paul,
Thank you for replying.
> I find I have to do $pdf->MultiCell() to accomplish this
This turned out to be the command I needed.
I used:
$pdf->MultiCell(130,30,$text,0);
130 is the width, 30 the height, and the zero at the end means no border
(1 is a thin black border).
I've never been sure what units TCPDF works in, so I got the right
numbers by experimenting and dialling it in.
Thanks for the support!
--
Dave M G