0
Answer

Save and open font style information with text file

Photo of Stuart

Stuart

15y
3.4k
1
I have created a simple notepad program that can open and save text files. I can also change the font and colour of the text in the editor but how do i save the font information so that when i open up the file, the font i used when the text file was first created is restored.
I am using system.io.streamreader to open files and system.io.streamwriter to save files.

Thanks in advance