cpdf_begin_text cpdf_begin_text (PHP 3 >= 3.0.8, PHP 4, PHP 5 <= 5.0.4)
cpdf_begin_text -- Starts text section
Description bool
cpdf_begin_text ( int pdf_document )
The cpdf_begin_text() function starts a text
section. Returns TRUE on success or FALSE on failure.
The created text section must be ended with
cpdf_end_text() .
Example 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() .
Links
Apollo Hosting $6.96/mo 3GB Diskspace 100GB Bandwidth Live 24/7 Support SpamAssassin Urchin Web Analytics Aplus.net $7.46/mo 170GB Diskspace 2000GB Bandwidth PHP Perl Ruby C/C++ Python TCL SSI CGI 2 Free Domain Names DNS Management 99.99% Uptime IX Web Hosting $6.45/mo 400GB Diskspace 2500GB Bandwidth Host 8 Domains PHP Perl CGI SSI MySQL PostgreSQL 3 Free Domain For Life Additional costs for Windows plan + $2.50:ASP/.NET, Cold Fusion, ODBC/DSN, MSSQL
Partners