You can use measureText available on the controls (Button, TextInput etc) to find out the text width and height.
 
You can use fontFamily, fontSize etc styles to set/get the font type and size.
 
-Sreenivas.
 
On 1/6/06, leorajpoot <[EMAIL PROTECTED]> wrote:
Hi all,

I want to find the number of pixels that one character of my text takes
in flex. I think for that i have to find the font type and size of my
text and then i have to find that how many pixels that particular type
of character takes.

If anybody knows about it. Please let me know.







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links

<*> To visit your group on the web, go to:
   http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
   [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
   http://docs.yahoo.com/info/terms/






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to