MeasureStyledWidth(String) Method

Definition

Assembly XenoAtom.Terminal.dll

Measures the visible width of a string that contains ANSI escape sequences or XenoAtom markup.

public int MeasureStyledWidth(string textWithAnsiOrMarkup)

Parameters

textWithAnsiOrMarkup
String

The string to measure.

Returns

Int32
The visible cell width.