I have a need to know how many lines a block of text will occupy.
Given:
- the plain text
- the font
- font size
- text area width

I'm thinking it should be possible to do this by creating a WritePro
object, adding the text and setting the various parameters - this would
create an accurate representation of the formatted text. But having done
that, how to find out the no. of lines?

​Using v16r6​

​Pat​

-- 
*************************************************
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*************************************************
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to