K
Kevin
I'm trying to create a function that will return the length of a text
string in inches.
e.Graphics.MeasureString(mString, mFont)
Seems to be what I'm looking for, but I don't know how to pass
PaintEventArgs (e).
I don't want to use it in a paint event, I just want it to return a
number when I pass it a string and a font. How do I do this?
string in inches.
e.Graphics.MeasureString(mString, mFont)
Seems to be what I'm looking for, but I don't know how to pass
PaintEventArgs (e).
I don't want to use it in a paint event, I just want it to return a
number when I pass it a string and a font. How do I do this?