cpdf_stringwidth

(3.0.8 - 3.0.18 only, PHP 4 >= 4.0.0)

cpdf_stringwidth -- Retourne la taille de la chaîne.

Description

float cpdf_stringwidth (resource pdf_document, string text)

cpdf_stringwidth() retourne la taille de la chaîne text. Une police doit avoir déjà été choisie.

Voir aussi cpdf_set_font().