By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,663 Members | 1,402 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,663 IT Pros & Developers. It's quick & easy.

MeasureString

P: n/a
Why does this code

Console.WriteLine(g.MeasureString("a", new Font("Lucida Console",
11f)).Width);
Console.WriteLine(g.MeasureString("aa", new Font("Lucida Console",
11f)).Width);

produce this output:

13.9911
23.09331

Shouldn't the 2nd number be twice as large as the first?
Nov 13 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.