(3.0.8 - 3.0.18 only, PHP 4 >= 4.0.0)
cpdf_begin_text -- Starts text section
Description
void cpdf_begin_text
(int pdf document)
The cpdf_begin_text() function starts a text
section. It 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().