Create(IAnsiConsole, IReadOnlyCapabilities) Method

Creates a RenderOptions instance from a IAnsiConsole.
public static RenderOptions Create(IAnsiConsole console, IReadOnlyCapabilities capabilities = null)
Containing Type
RenderOptions

Parameters

IAnsiConsole console
The console.
IReadOnlyCapabilities capabilities
The capabilities, or null to use the provided console's capabilities.

Returns