Bucky
Well-known member
How can I get the width, in pixels, of a string of a certain Font object?
I want to be able to DrawText directly outside the left-hand side of a form, but I cant do so if I dont know the width of the text.
If theres no solution, I guess I can have an invisible, AutoSizing label, set its font and Text properties, then find the Width property. (cheesier than a Dominos pizza, I know)
I want to be able to DrawText directly outside the left-hand side of a form, but I cant do so if I dont know the width of the text.
If theres no solution, I guess I can have an invisible, AutoSizing label, set its font and Text properties, then find the Width property. (cheesier than a Dominos pizza, I know)