You are here: TextWrap php->pdf problem « All PHP « IT news, forums, messages
TextWrap php->pdf problem

Posted by Knut Krueger on 11/22/07 07:11

Hi to all,
does anybody knows why AddTexWrap of the
class.pdf.php lib is not working?
The text is displayed in one line, without wrapping.



<?
include 'class.pdf.php';
$pdf =& new Cpdf();
$pdf->selectFont('./fonts/Helvetica');

$pdf->AddTextWrap(0,700,300,10,"The Portable Document Format (PDF) is
the file format created by Adobe Systems in 1993 for document exchange.
PDF is used for representing two-dimensional documents in a
device-independent and display resolution-independent fixed-layout
document format. Each PDF file encapsulates a complete description of a
2-D document (and, with Acrobat 3-D, embedded 3-D documents) that
includes the text, fonts, images, and 2-D vector graphics that compose
the document.");

$pdf->stream();
?>

Regards Knut

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация