如何在FPDF中自动调整单元格中的文本?

时间:2014-05-02 18:11:05

标签: php fpdf

我正在使用FPDF和PHP生成报告。当文本太长时,它会溢出。我怎么能阻止这个?

$string = "IT IS TOO LONG IT IS TOO LONG IT IS TOO LONG IT IS TOO LONG IT IS TOO LONG IT IS TOO LONG";
       $pdf->Cell(190,10,'Observations: '.$string.'',0,0,'C');

0 个答案:

没有答案