I made project in Console are the any way change font style in it(and there is can I change size too?
Thanks Sergey

Recommended Answers

The font size and type is user preference, Im not sure you can override it without making a fake console looking app.

Jump to Post

The only thing you can change for a font in a Consolewindow are colors.
For example like this :

Console.BackgroundColor = ConsoleColor.DarkCyan;
                Console.ForegroundColor = ConsoleColor.Red;

Which will give you red letters on a blue background when you use a WriteLine after those calls. (uugheeK!?!)
If you really …

Jump to Post

All 5 Replies

The font size and type is user preference, Im not sure you can override it without making a fake console looking app.

I couldn't find any information about that everyone do such things in WinForms

but it's really intresting me

The only thing you can change for a font in a Consolewindow are colors.
For example like this :

Console.BackgroundColor = ConsoleColor.DarkCyan;
                Console.ForegroundColor = ConsoleColor.Red;

Which will give you red letters on a blue background when you use a WriteLine after those calls. (uugheeK!?!)
If you really want to get fancy with fonts start developing a form-application instead.

thanks I think I get a last solution is a best one start with form-application

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.