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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top