PHP 5.4.31 Released

HaruPage::getTextWidth

(PECL haru >= 0.0.1)

HaruPage::getTextWidthGet the width of the text using current fontsize, character spacing and word spacing

Descrierea

float HaruPage::getTextWidth ( string $text )

Get the width of the text using current fontsize, character spacing and word spacing

Parametri

text

The text to measure.

Valorile întoarse

Returns the width of the text using current fontsize, character spacing and word spacing.

Erori/Excepții

Emite un HaruException în caz de eroare.

Vedeți de asemenea

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top