Method GetColumnsRequiredForVerticalText | Terminal.Gui v2 (original) (raw)
Namespace
Assembly
Terminal.Gui.dll
GetColumnsRequiredForVerticalText(List, int, int, int)
Returns the number of columns required to render lines
oriented vertically.
public static int GetColumnsRequiredForVerticalText(List<string> lines, int startLine = -1, int linesCount = -1, int tabWidth = 0)
Parameters
The lines.
startLine
int
The line in the list to start with (any lines before will be ignored).
linesCount
int
The number of lines to process (if less than lines.Count
, any lines after will be ignored).
tabWidth
int
The number of columns used for a tab.
Returns
The width required.