Re: [flexcoders] How to find that in which font type the text is written

2006-01-09 Thread Sreenivas R
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

[flexcoders] How to find that in which font type the text is written

2006-01-06 Thread leorajpoot
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.