Home > PHP > Function > > SWFText->getWidth()

SWFText->getWidth()

SWFText->getWidth - Computes string's width

Syntax

float SWFText->getWidth (string $string)

Arguments

  • string

Description

Returns the rendered width of the string at the text object's current font, scale, and spacing settings.

Version

PHP 4.0.5

Return value