Basically I am trying to make a console type application. And I am trying to figure out how to make it so the window is like 100 characters wide. I am using a monospaced font (Courier BT) so I was wondering if there was a way to figure out the width of each character given the font and the font point size.
Thanks in advance

How to get the width of a character?
mihooper1
Font f = new Font("Courier New", 8.25F);
Size s = TextRenderer.MeasureText("1", f);
this.Width = s.Width * 100;
To try and make the width of the form to be the width of 100 characters of this font. But it says the width of a single character is 14, which makes the form a width of 1400. Which just doesn't make sense for a size 8 font.
Am i doing something wrong
Thanks
Tryin2Bgood
Thanks for your help
Alan Robbins
TextRenderer.MeasureText() will provide you with the knowledge that you seek.
HTH