textArea.textHeight

for the whole textheight in pixels

 

or

 

textArea.getLineMetrics(0).height

would only return the height of line nr. 0.

 

Hth,

Sascha

 

 

  _____  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of richmcgillicuddy
Sent: Monday, 08 January, 2007 12:45
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Lines in a TextArea

 

I have a TextArea and want to know how many lines the text is. Better
yet, a simple height number on how much height the text (actually
htmltext) takes up. Is there a way to do this?

Rich

 

Reply via email to