note 104327 added to function.harupage-textout
| From: | akuatsyuaadotnet at osu1 dot php dot net | Date: | Thu, 09 Jun 2011 09:53:56 +0000 |
| Subject: | note 104327 added to function.harupage-textout | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-180352@lists.php.net to get a copy of this message | ||
a simple sample of textOut :
<?php
$text = "Syuaa is another little programmer";
$doc=new HaruDoc;
$page=$doc->addPage();
//load haru font Times-Roman
$font = $doc->getFont('Times-Roman');
//Begin creating text on x100, y150
$page->beginText();
$page->setFontandSize($font, 12);
$page->textOut(100, 150, $text);
$page->endText();
//Open as pdf
header('Content-type: application/pdf');
$doc->output();
?>
----
Server IP: 69.147.83.197
Probable Submitter: 222.124.112.94
----
Manual Page -- http://www.php.net/manual/en/function.harupage-textout.php
Edit -- https://master.php.net/note/edit/104327
Del: integrated -- https://master.php.net/note/delete/104327/integrated
Del: useless -- https://master.php.net/note/delete/104327/useless
Del: bad code -- https://master.php.net/note/delete/104327/bad+code
Del: spam -- https://master.php.net/note/delete/104327/spam
Del: non-english -- https://master.php.net/note/delete/104327/non-english
Del: in docs -- https://master.php.net/note/delete/104327/in+docs
Del: other reasons-- https://master.php.net/note/delete/104327
Reject -- https://master.php.net/note/reject/104327
Search -- https://master.php.net/manage/user-notes.php