TCPDF line breaks

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

 



PHP Users,

Anyone using TCPDF? I find that their own forums are near dead.

I want to accomplish something simple, but their documentation is far
from easy.

I have a PDF where I place text in various places around the page, like so:

$pdf->SetXY(50, 187);
$pdf->Write(0, "hello world");

However, in the case of really long text, the text spreads out to the
width of the page, which can break the formatting.

All I want to do is be able to constrain the width of the text being
written, ideally by number of characters, so that it will have line
breaks and form a column of text no wider than I want.

Is that possible with TCPDF?

Any advice would be much appreciated.

Thanks.

-- 
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