Hi,
is there a way to know the height of a string printed in a rectangle? I
mean. I would like to create a rectangle high enough to contain all the
string but I don't want to increase the width so I have to determine the
height the string will have when printed in order to create a high enough
rectangle.
Is there an easy way to know the height of the rectangle I must create in
order to contain all my string?
thanks
ThunderMusic
Rulin Hong - 23 Dec 2004 16:29 GMT
Check out Graphics.MeasureString Method (String, Font)
ThunderMusic - 23 Dec 2004 17:01 GMT
it worked great, thanks!!
> Check out Graphics.MeasureString Method (String, Font)