What is the width? GetHeight returns the distance between the baselines of two lines of text, which is a property of the font itself. But the width depends on what you are going to write.
If you know exactly what you want to write, try the Graphics.MeasureString methods.
source share