downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  

<swf_startsymbolswf_translate>
Last updated: Thu, 26 Jun 2008

swf_textwidth

(PHP 4)

swf_textwidth — Get 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.



add a noteadd a note User Contributed Notes
Get the width of a string
There are no user contributed notes for this page.




<swf_startsymbolswf_translate>
Last updated: Thu, 26 Jun 2008
show source | credits | sitemap | contact | advertising | mirror sites
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: http://phpbuilder.com/
Last updated: Tue Nov 1 20:20:59 2005 EST
Columns / Articles | Tips / Quickies | News | News Linking and RSS Feeds | Shared Code Library
Mail Archives | Support / Discussion Forums | Get Started! Links | Contribute! | Docs