Table of Contents

Method GetSumMaxCharWidth

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

GetSumMaxCharWidth(List<ustring>, int, int)

Gets the maximum characters width from the list based on the startIndex and the length.

public static int GetSumMaxCharWidth(List<ustring> lines, int startIndex = -1, int length = -1)

Parameters

lines List<ustring>

The lines.

startIndex int

The start index.

length int

The length.

Returns

int

The maximum characters width.

GetSumMaxCharWidth(ustring, int, int)

Gets the maximum characters width from the text based on the startIndex and the length.

public static int GetSumMaxCharWidth(ustring text, int startIndex = -1, int length = -1)

Parameters

text ustring

The text.

startIndex int

The start index.

length int

The length.

Returns

int

The maximum characters width.