PHP Doku:: Get the total width of the text, number of characters, number of words and number of spaces - function.harufont-gettextwidth.html

Verlauf / Chronik / History: (2) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzNon-Text MIME-AusgabenHaru PDFThe HaruFont classHaruFont::getTextWidth

Ein Service von Reinhard Neidl - Webprogrammierung.

The HaruFont class

<<HaruFont::getFontName

HaruFont::getUnicodeWidth>>

HaruFont::getTextWidth

(PECL haru >= 0.0.1)

HaruFont::getTextWidthGet the total width of the text, number of characters, number of words and number of spaces

Beschreibung

array HaruFont::getTextWidth ( string $text )

Get the total width of the text, number of characters, number of words and number of spaces.

Parameter-Liste

text

The text to measure.

Rückgabewerte

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

Fehler/Exceptions

Throws a HaruException on error.


Keine BenutzerBeiträge.
- Beiträge aktualisieren...



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)