pdf_stringwidth

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

pdf_stringwidth -- Retourne la largeur du texte avec la police courante.

Description

double pdf_stringwidth (resource pdf_object, string text)

pdf_stringwidth() retourne la largeur du texte text avec la police courante. Il faut qu'une police ait été choisie auparavant.

Voir aussi pdf_set_font().