FPDF in PHP, setX just indents first row

Posted by Cinaird on Stack Overflow See other posts from Stack Overflow or by Cinaird
Published on 2010-04-01T09:38:18Z Indexed on 2010/04/01 9:43 UTC
Read the original article Hit count: 398

Filed under:
|
|
|
|

I use FPDF to creat PDF from PHP and i have a problem with the Write() function

i use the following code and i want to indent the text block not just the first row:

$pdf->SetX(60);
$pdf->Write(5,'' . str_repeat( ' This is a test of setX.', 30 ));

but as you can understand it's just indents the first row, any idea on how to move the whole text mas?

© Stack Overflow or respective owner

Related posts about fpdf

Related posts about php