swf_textwidth

JavaScript Editor Javascript debugger     Website design 

swf_textwidth

Get the width of a string (PHP 4)
float swf_textwidth ( string str )

Gives the width of the string in pixels, using the current font and font size.

Parameters

str

The string.

Return Values

Returns the line width, as a float.