note 81760 added to function.pdf-create-textflow

From: Date: Wed, 12 Mar 2008 17:50:19 +0000
Subject: note 81760 added to function.pdf-create-textflow
Groups: php.notes 
Request: Send a blank email to php-notes+get-136975@lists.php.net to get a copy of this message
I had trouble trouble adding the created textflow to the PDF. The create_textflow() method always returned 0 no matter how many textFlow I created until I added "textlen" to the optlist like this : <?php $length = strlen($infoJob['descriptionFac']); $optlist = "fontname=Helvetica textlen=".$length." fontsize=".$fontSize." encoding=winansi"; ?> I don't know why, but apparently, in my case, textlen was a mandatory option... ---- Server IP: 69.147.83.197 Probable Submitter: 207.134.250.139 ---- Manual Page -- http://www.php.net/manual/en/function.pdf-create-textflow.php Edit -- https://master.php.net/note/edit/81760 Del: integrated -- https://master.php.net/note/delete/81760/integrated Del: useless -- https://master.php.net/note/delete/81760/useless Del: bad code -- https://master.php.net/note/delete/81760/bad+code Del: spam -- https://master.php.net/note/delete/81760/spam Del: non-english -- https://master.php.net/note/delete/81760/non-english Del: in docs -- https://master.php.net/note/delete/81760/in+docs Del: other reasons-- https://master.php.net/note/delete/81760 Reject -- https://master.php.net/note/reject/81760 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#136975) next »