Profile Class

Represents a console profile.
public sealed class Profile
Namespace
Spectre.Console

Constructors

Profile(IAnsiConsoleOutput, Encoding)
Initializes a new instance of the Profile class.

Properties

Capabilities Capabilities
Gets or sets the capabilities of the profile.
Encoding Encoding
Gets or sets the console output encoding.
IReadOnlyCollection<string> Enrichers
Gets the enrichers used to build this profile.
int Height
Gets or sets an explicit console height.
IAnsiConsoleOutput Out
Gets or sets the out buffer.
int Width
Gets or sets an explicit console width.

Methods

bool Supports(ColorSystem)
Checks whether the current profile supports the specified color system.