Table of Contents

Method GetLines

Namespace
Terminal.Gui.Text
Assembly
Terminal.Gui.dll

GetLines()

Gets a list of formatted lines, constrained to ConstrainToSize.

public List<string> GetLines()

Returns

List<string>

Remarks

If the text needs to be formatted (if NeedsFormat is true) Format() will be called and upon return NeedsFormat will be false.

If either of the dimensions of ConstrainToSize are zero, the text will not be formatted and no lines will be returned.