(PHP 4, PHP 5 <= 5.0.5)
cpdf_begin_text — Démarre une section de texte
Démarre une section de texte.
La section doit être terminée avec cpdf_end_text() .
Le gestionnaire de document, retourné par la fonction cpdf_open() .
Cette fonction retourne TRUE en cas de succès, FALSE en cas d'échec.
Exemple 541. Exemple avec cpdf_begin_text()
<?php
cpdf_begin_text
(
$pdf
);
cpdf_set_font
(
$pdf
,
16
,
"Helvetica"
,
"WinAnsiEncoding"
);
cpdf_text
(
$pdf
,
100
,
100
,
"Un peu de texte"
);
cpdf_end_text
(
$pdf
)
?>
cpdf_end_text() |