UtilConsoleSetConsolefont Method

Sets the text font for the console attached to the current process.

Definition

Namespace: DevCase.Core.Application.Console
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static void SetConsolefont(
	string faceName,
	bool bold = false
)

Parameters

faceName  String
The name of the font typeface (such as Arial, Courier or Consolas).
bold  Boolean  (Optional)
If set to , use the bold font; otherwise, use the normal font.

Default value is .

Exceptions

See Also