Converting string to font object (VB.net) ?

  • Thread starter Thread starter Steven
  • Start date Start date
S

Steven

VB.NET

Via the FontDialog I have retrieved a font. After saving the font (in an XML
document) and retrieving it again, I have a string in the following
"format";

[Font: Name=Arial, Size=9, Units=3, GdiCharSet=0, GdiVerticalFont=False]

How can I convert this string (back) to a font object?
So that I can assign this to (for example) to: label1.Font = ....

Thanks! Steve
 
Back
Top