Ok well, I ran my program and I selected a simple font for it, here is what was put into the registry. [Font: Name=Wingdings 2, Size=8.25, Units=3, GdiCharSet=2, GdiVerticalFont=False]
private Font preffont;
public void WriteFormattingPrefsToRegistry()
public void ReadFormattingPrefsFromRegistry()
reg.BaseRegistryKey = Registry.CurrentUser;
//This does not work with or without converting to a string.
public Font GetFont()
publicvoid SetFont(Font v)
preffont = v;
to write it to the registry, using a class with all the reg.write code. The Font object its self writes to the registry as a string automatically.
Basically if its written as string then its read as string.
Thats what I was thinking as well, but I guess not.