|
-
Jul 3rd, 2006, 07:56 AM
#4
Thread Starter
Fanatic Member
Re: Save last font ?
Hello again...
When I load my application, I am setting "myFont" to:
myFont = new Font("NATURALBORN" , 14 , FontStyle.Bold);
Now what I would like to do is "read" my font from a text file. Something like this:
The text saved to my text file (myFont.ToString()) = ...
[Font: Name=NATURALBORN, Size=14, Units=3, GdiCharSet=1, GdiVerticalFont=False]
So I need to do something like...
myFont = new Font(sr.readLine());
Obviously, that will not work unless I parse it out some how. How?
Thanks!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|