Get number of lines the text has produced

Hi,

Is it possible to get the number of lines the text has produced when it has wrapped within a box?

Thanks in advanced.

E

Found a work around.

I would put a paragraph first inside a box. Count the number of lines it created visually. Get the height of the box and divide it by how many lines. Use this number as your average/estimate height per line including vertical space.

Of course this will only work when all text have same font size.

Cheers