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. Zwraca TRUE w przypadku sukcesu, FALSE w przypadku porażki. The created text section must be ended with cpdf_end_text().

Przykład 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().

Hosting by: Hurra Communications Sp. z o.o.
Generated: 2007-01-26 18:02:42