I am using a fontdialog and all is working well except for a couple things.
When I use fontDlg.Color.ToKnownColor I get a integer and was really wanting a color name. So I tried color.tostring and I get Color[Black] for example. Is there anyway of just getting 'Black' without having to do a split or something similar?
Same with Font.Style. It returns an integer and I was looking for a string.
What this is for is to save all of the info from the fontdialog to a settings file so that I can pull this the next time the program is run.
Any suggestions greatly appreciated.
Jim
When I use fontDlg.Color.ToKnownColor I get a integer and was really wanting a color name. So I tried color.tostring and I get Color[Black] for example. Is there anyway of just getting 'Black' without having to do a split or something similar?
Same with Font.Style. It returns an integer and I was looking for a string.
What this is for is to save all of the info from the fontdialog to a settings file so that I can pull this the next time the program is run.
Any suggestions greatly appreciated.
Jim