Method GetLines | Terminal.Gui v2 (original) (raw)

Namespace

Terminal.Gui

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 returnNeedsFormat will be false.

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

Edit this page