title: Get font attribute for code behind
body: <p>The thing is, i need to use to function Graphics.measureString to know how long (in pixel) a string will be rendered on my page. The thing is, measureString needs to know what font family and font size (Verdana 11 for example) is used to be able to give me the width. For info, Graphics.measureStrings needs the string to measure, the font family and the font size, then it returns a SizeF object from which you can get the width attribute so you know what length it is on your webpage (it isn't always perfectly accurate though).</p>
  
  <p>So, i was wondering if there was a way of getting that info from the page for the code behind, or am i doomed to hard code it somewhere in my control or some constants class.</p>
  
  <p>Thanks for future (helping) answers</p>