Z
Zanna
Hi all!
I'm in difficulty with this: I need to know the height of a text line that
is written with Graphics.DrawString().
In theory I need just to get the Graphics.MeasureString() result.
But this works if the string is on a single line.
If the string goes on more lines (caused by a new line or word wrap), it
seems that I need to compute the space between the lines, since the height
of two lines does not correspond with the double of the height of a single
line.
Someone know how to compute the exact height of n lines of text?
Thanks.
I'm in difficulty with this: I need to know the height of a text line that
is written with Graphics.DrawString().
In theory I need just to get the Graphics.MeasureString() result.
But this works if the string is on a single line.
If the string goes on more lines (caused by a new line or word wrap), it
seems that I need to compute the space between the lines, since the height
of two lines does not correspond with the double of the height of a single
line.
Someone know how to compute the exact height of n lines of text?
Thanks.