PHP Manual
Prev |  | Next

# cpdf_end_text

cpdf_end_text -- Starts text section

## Description

`void cpdf_end_text`(int pdf document);

The cpdf_end_text() function ends a text section which was started with cpdf_begin_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_begin_text().

Prev | Home | Next
cpdf_begin_text | Up | cpdf_show