Re: TCPDF line breaks [SOLVED]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux