Results 1 to 2 of 2

Thread: How to convert FONT to String and vice versa

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Sep 2002
    Posts
    26

    How to convert FONT to String and vice versa

    Anyone know how I can convert a "string" representation of font back to the System.Drawing.Font representation?

    Thanks.

    Heres the string I want to convert back

    [Font: Name=Arial, Size=251, Units=0, GdiCharSet=111, GdiVerticalFont=False]
    Last edited by tgo57; Oct 16th, 2002 at 07:54 PM.

  2. #2
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428
    I belived it should be done with FontConverter.FontNameConverter.ConvertFromString, but I couldnt get it to work
    rate my posts if they help ya!
    Extract thumbnail without reading the whole image file: (C# - VB)
    Apply texture to bitmaps: (C# - VB)
    Extended console library: (VB)
    Save JPEG with a certain quality (image compression): (C# - VB )
    VB.NET to C# conversion tips!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width