This seems to be the itext class to use for line wrapping and determining how many lines of text resulted.

comments powered by Disqus