Changing font in a Console window in .NET

Please don’t do that on an application that is meant to be used from other users, unless they request this feature. Consolas is the only font for consoles on my system :p

You can try to change the properties of the link that opens the console (or the executable), but that is a local setting if I’m right. This is likely the thing you want if it’s just for running the app on your system. I’m not sure how you can change these programmatically.

Since Vista, there’s SetCurrentConsoleFontEx, which may do what you want, if you can get it to work with the Console class. Did I mention I will hate you for that if the app ever comes to my system? 😉

Leave a Comment