PHP  
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  
<cpdf_arccpdf_circle>
Last updated: Sat, 20 Oct 2007

cpdf_begin_text

(PHP 3 >= 3.0.8, PHP 4, PECL)

cpdf_begin_text -- Starts text section

Description

bool cpdf_begin_text ( int pdf_document )

The cpdf_begin_text() function starts a text section. 如果成功则返回 TRUE,失败则返回 FALSE。 The created text section must be ended with cpdf_end_text().

例子 1. Text output

<?php
cpdf_begin_text
($pdf);
cpdf_set_font($pdf, 16, "Helvetica", "WinAnsiEncoding");
cpdf_text($pdf, 100, 100, "Some text");
cpdf_end_text($pdf)
?>

See also cpdf_end_text().




<cpdf_arccpdf_circle>
 Last updated: Sat, 20 Oct 2007
 
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: http://manual.phpv.net/
Last updated: Thu Jul 7 19:13:47 2005 CST