G
Guest
Can anyone tell me how to persist and retrieve the font characteristics that
a user chooses to have displayed in a personalized label field on the front
of their application? I wanted to be able to give the user this ability so
that they could place a company logo, motto, or simply a message of the day
on the form, and have it redisplay from then on at start up just as it was to
begin with. I was trying to use an .rtf file to store the data. The place
I'm running into trouble is with the FontStyle. I can't reduplicate a
FontStyle of say, Bold/Italic/Underline. I can only reduplicate one of those
with a FontStyle fontstyle = FontStyle.Bold statement and then create a new
Font with a new Font(fontfamily, fontsize, fontstyle) statement. Any help
with this question would be greatly appreciated.
a user chooses to have displayed in a personalized label field on the front
of their application? I wanted to be able to give the user this ability so
that they could place a company logo, motto, or simply a message of the day
on the form, and have it redisplay from then on at start up just as it was to
begin with. I was trying to use an .rtf file to store the data. The place
I'm running into trouble is with the FontStyle. I can't reduplicate a
FontStyle of say, Bold/Italic/Underline. I can only reduplicate one of those
with a FontStyle fontstyle = FontStyle.Bold statement and then create a new
Font with a new Font(fontfamily, fontsize, fontstyle) statement. Any help
with this question would be greatly appreciated.