Forum und email
HaruFont::getTextWidth

HaruFont::getTextWidth

(no version information, might be only in CVS)

HaruFont::getTextWidth -- Get the total width of the text, number of characters, number of words and number of spaces

Popis

array HaruFont::getTextWidth ( string text )

Returns the total width of the text, number of characters, number of words and number of spaces in the given text.

Seznam parametrů

text

The text to measure.

Errors/Exceptions

Throws HaruException on error.