Not hard, I just keep reinventing the wheel finding the how to. So having done this yet again today here is the tell all code snippet:
Graphics graphics = control.CreateGraphics();Proudly simple (Nigel - I did originally type 'embarrassingly simple', but you are having such an effect on me!).
SizeF size = graphics.MeasureString(text, font);
No comments:
Post a Comment