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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top