Determining the height a text box will need to be dynamically

I want to populate a dynamic text box and then scroll this.
Is there anyway of determining how large the text area’s height needs to be given the width and the text I want to populate it with?

Hope that makes sense. If not please shout!

Many Thanks,
Daf

:thumb: