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
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.
2 matches
Mail list logo