# Get last line length in pixels

**URL:** <https://forum.kirupa.com/t/get-last-line-length-in-pixels/311263>\
**Category:** flash\
**Created:** [July 1, 2010, 2:24pm UTC](https://forum.kirupa.com/t/get-last-line-length-in-pixels/311263 "2010-07-01T14:24:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jaioxung](https://avatars.discourse-cdn.com/v4/letter/j/dc4da7/32.png) [@jaioxung](https://forum.kirupa.com/u/jaioxung)\
**Post date:** [July 1, 2010, 2:24pm UTC](https://forum.kirupa.com/t/get-last-line-length-in-pixels/311263/1 "2010-07-01T14:24:11Z")

</div>

I am wanting to position a large close-quote graphic relative to the end of the last line of text in a text field. Is there a way to use textWidth to find the width in pixels of just the last line of a textField?
