Last post Feb 01, 2009 12:51 PM by KelseyThornton
Feb 01, 2009 09:27 AM|KelseyThornton|LINK
I want to create a simple menu by using a site map, but having the nodes displayed as images, rather than text.
I have found a few places on the web which discuss using JScript or ASP.NET to create an image on the fly from a text string.
These are great if you know in advance that your text will fit into a specific size bitmap. Unfortunmately, none of these works with dynamic lengths of strings, and this really what I would like to do.
I'm not sure if Silverlight might be able to help me, but I would rather do all this server-side, because then I know for certain that the font I want to use is available :)
(I do most of my programming in VB)
Feb 01, 2009 11:01 AM|SGWellens|LINK
This may help you get started:
Feb 01, 2009 12:51 PM|KelseyThornton|LINK
I see that "MeasureString" is the key :)