Scholar Repository
Home>Manual>Return width of text

Return width of text


PDF_stringwidth

(PHP 4, PECL pdflib >= 1.0.0)

PDF_stringwidthReturn width of text

Description

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

Returns the width of text in an arbitrary font.


Home>Manual>Return width of text