M
meicher
Hi,
I want to get the EXACT width of a font character in pixels.
I tried:
Font fo = new Font("Courier New", 12, GraphicsUnit.Pixels);
int iWidth = (int)fo.Size; // 12 doesn't work
iWidth = (int)MeasureString("G", fo).Width; //doesn't work

Regards mike
I want to get the EXACT width of a font character in pixels.
I tried:
Font fo = new Font("Courier New", 12, GraphicsUnit.Pixels);
int iWidth = (int)fo.Size; // 12 doesn't work
iWidth = (int)MeasureString("G", fo).Width; //doesn't work

Regards mike