Store copies of your important files online for free.            HOME

Get the width of a string
SWF Functions
PHP Manual

swf_textwidth

(PHP 4)

swf_textwidthGet the width of a string

Description

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.


SWF Functions
PHP Manual