I’m using .Net tools to do some 2D drawing. System.Drawing.Font uses a GetHeight() that returns the height in pixels. I’m missing a GetWidth() to retrieve the width! What should I use?
I’m using .Net tools to do some 2D drawing. System.Drawing.Font uses a GetHeight() that
Share
Use Graphics.MeasureString Method (String, Font):
Eg.