Table of Contents

Method ConvertLegacySGRParameters

Namespace
Microlithix.Text.Ansi.Element
Assembly
AnsiParser.dll

ConvertLegacySGRParameters()

Returns a copy of this element with any legacy SGR parameters converted to standard SGR parameters.

public AnsiControlSequence ConvertLegacySGRParameters()

Returns

AnsiControlSequence

A copy of this AnsiControlSequence element with any legacy SGR parameters converted to standard SGR parameters.

Remarks

Returns the unmodified original element if the control sequence is not a Select Graphic Rendition (ControlFunction.SGR) sequence, or if the control sequence doesn't contain any legacy SGR parameters.