title: Detect width of text in vb.net
body: <p>Is there a way to detect the actual width of text in a vb.net web app? It needs to be dependant upon its font-style and size.</p>
  
  <p>In vb6 you could copy the text into a label and make it expand to fit then measure its width, but this won't work in vb.net.</p>