There is one text file which is generated from cmd on button click event of my windows form. I want to change the font size of text file.
For example default font size is 11 and I want to make it 10.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Delpin Susai RajRank #53 · 29.5K reputationPosted Sep 30, 2016, 7:48 AM EDT
Dinesh SanthalingamRank #2,085 · 690 reputationPosted Nov 29, 2016, 6:31 PM EST
Actually, the .txt format does not contain formatting such as font size, bond, italics, etc.
use a markup language like html, or another file format, such as pdf or something else.