cpdf_stringwidth

(PHP 3 >= 3.0.8, PHP 4, PECL)

cpdf_stringwidth -- Returns width of text in current font

Description

float cpdf_stringwidth ( int pdf_document, string text )

The cpdf_stringwidth() function returns the width of the string in text. It requires a font to be set before.

See also cpdf_set_font().

Hosting by: Hurra Communications Sp. z o.o.
Generated: 2007-01-26 18:02:42