Fonts

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to find out how many characters I can fit in a line

I am using a Courier fixed font

My font size is 10 and 12 (ithink its points but not sure what the other type of measurements would be).
My page is 11 inches wide by 8.5 long and 8.5 wide by 11 long

Can someone assist me in calculating how many characters I can get on a line for a 10 and 12 font size

Thank

To
 
Mike,

If you are printing, and you have a reference to a Graphics instance
that represents the surface that you are printing on (the page), then you
can call the MeasureString method on the Graphics instance to find out how
wide the string you will print will be.

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Mike said:
I am trying to find out how many characters I can fit in a line.

I am using a Courier fixed font!

My font size is 10 and 12 (ithink its points but not sure what the other
type of measurements would be)..
My page is 11 inches wide by 8.5 long and 8.5 wide by 11 long.

Can someone assist me in calculating how many characters I can get on a
line for a 10 and 12 font size?
 
Back
Top