I'm a total newbie in C# and ASP.NET, so I hope I'm in the right forum. My very first project is a custom control that converts strings into images on the fly (through a httphandler) - that works fine, except for 'FontSize'. I have no clue how to convert the FontUnit into a float-value.

- This works fine:
Code:
String sFontSize = context.Request.Params.Get("FontSize");
FontUnitConverter fuc = new FontUnitConverter();
...