Thanks FlyGuy!!!
But i have another problem, textWidth depends on the font size. I use always the same font but i have to use textwidth function in a class (in a dll), what can i do?
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET. subscribe