cpdf_stringwidth

(PHP 3>= 3.0.8, PHP 4 )

cpdf_stringwidth -- Devuelve la anchura del texto en la fuente actual

Descripción

double cpdf_stringwidth ( int pdf document, string text)

La función cpdf_stringwidth() devuelve la anchura de la cadena text. Requiere haber definido antes una fuente.

Vea también cpdf_set_font().