tags:

views:

100

answers:

2

Right now when I use a cell with text, it all stays on one line. I know I could use the write function, but I want to be able to specify the height and width.

This is what I have now, but as I said the text does not wrap to stay in the dimensions:

$pdf->Cell( 200, 40, $reportSubtitle, 1, 1 );
A: 

I think tutorial #6 covers this:

http://www.fpdf.org/en/tutorial/index.php

Scott Saunders
A: 

The MultiCell is used for print text with multiple lines. It has the same atributes of Cell except for ln and link.

$pdf->MultiCell( 200, 40, $reportSubtitle, 1);
Ed
Is there any way to change the line height of the information in the MultiCell?
Carson