SWF 函数
PHP Manual

swf_textwidth

(PHP 4)

swf_textwidthGet the width of a string

说明

float swf_textwidth ( string $str )

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

参数

str

The string.

返回值

Returns the line width, as a float.


SWF 函数
PHP Manual