Method IsLegacySGRParameter
- Namespace
- Microlithix.Text.Ansi.Element
- Assembly
- AnsiParser.dll
IsLegacySGRParameter()
Checks if the parameter is a SetForegroundColor or SetBackgroundColor parameter in legacy format.
public bool IsLegacySGRParameter()
Returns
- bool
Returns true if the parameter contains only one part and it is a SetForegroundColor or SetBackgroundColor parameter.
Remarks
For the return value of this method to have any meaning, the parameter must be part of a SGR control sequence.