K
Ken Ward
Guest
It depends on how you look at it. Assuming we're working in a system like dots, twips, or inches, replace "TextLength" with "TextWidth". Just make sure all the variables are in the same units. There are Windows API functions and .Net methods that can measure the width of a piece of text given the font used.
Continue reading...
Continue reading...