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().
<?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().
| This HTML Help has been published using the chm2web software. |