Forum und email

PDF_stringwidth

(PHP 4, PECL pdflib:1.0-2.1.3)

PDF_stringwidth — Retourne la largeur d'un texte avec la police courante

Description

float PDF_stringwidth ( resource $p , string $text , int $font , float $fontsize )

PDF_stringwidth() retourne la largeur du texte text en utilisant les paramètres font et size .