You can use StringUtils.MeasureMultilineText and divide the result in the height of a single line (also measured with that method). You might need to add some corrections for the first and last line padding.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.