in reply to Page number count from RTFs
I would guesstimate: you know from the spec you linked that a page defaults to 792 x 612 pts with 72 pt margins on the top and bottom and 90 pt margins on the sides. And you know the font size in points, so you know how many lines can fit on a page. Figure out the length() of the text and guess. It won't be precise, but it may be good enough.
|
|---|