cpdf_stringwidth

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( ) .