How to set font in file created with StreamWriter?

  • Thread starter Thread starter NerdRunner
  • Start date Start date
N

NerdRunner

Is it possible, and if so, how do I set the font of a text file that I
created using the StreamWriter object?

Sean M. Severson
 
Plain text files have no font. They have text. The viewer chooses the Font
to display. If the document needs format infomation, then it's no longer
text. The basic for is rich text, but Word docs do the same thing. If you
want to create a file that has metadata, then you have to write that data
yourself.
 
Back
Top