# Number of text lines?

**URL:** <https://forum.kirupa.com/t/number-of-text-lines/207188>\
**Category:** flash\
**Created:** [November 15, 2006, 12:32pm UTC](https://forum.kirupa.com/t/number-of-text-lines/207188 "2006-11-15T12:32:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lewi\_p](https://avatars.discourse-cdn.com/v4/letter/l/ac91a4/32.png) [@lewi\_p](https://forum.kirupa.com/u/lewi_p)\
**Post date:** [November 15, 2006, 12:32pm UTC](https://forum.kirupa.com/t/number-of-text-lines/207188/1 "2006-11-15T12:32:15Z")

</div>

Hi,

I’m loading a few bits of text into a dynamic textbox and I want to know if it’s possible to find out the number of lines its taking up. Using the height of the textbox isn’t an option as the text varies all the time.

Any ideas?
