G.Stringheight - textwrap parameter ??

Hi
I dont understand how to use the textwrap parameter of stringheight.
Since [quote]StringHeight is calculated as the maximum height for the font itself and not the actual height of the text[/quote] so height depends on the font, and not on the text, then why is it necessary to give this parameter, what is it for exactly ?

tks

Say a string length is 150 pixels.

If a string is on one line the height is x. If it wraps at 100 pixels, forcing it to two lines, it is x*2.

The wrapwidth is the width of the control where the text is displayed (or your own desired width for a canvas, etc.)