cpdf_stringwidth
(PHP 4, PHP 5 <= 5.0.5)
cpdf_stringwidth — Restituisce la larghezza del testo nel font corrente
Descrizione
float cpdf_stringwidth
( int $documento_pdf
, string $testo
)
La funzione cpdf_stringwidth() restituisce la larghezza della stringa in testo . Richiede che un font sia settato in precedenza.
Vedere anche cpdf_set_font().