pdf_stringwidth

(PHP 3>= 3.0.6, PHP 4 >= 4.0.0)

pdf_stringwidth -- Returns width of text using current font

Popis

double pdf_stringwidth ( int pdf document, string text)

Funkce pdf_stringwidth() function returns the width of the string in text by using the current font. It requires a font to be set before with pdf_set_font().

Viz takΘ pdf_set_font().