Table of Contents

Method AddStr

Namespace
Terminal.Gui.ViewBase
Assembly
Terminal.Gui.dll

AddStr(string)

Adds the str to the display at the current draw position.

public void AddStr(string str)

Parameters

str string

String.

Remarks

When the method returns, the draw position will be incremented by the number of columns str required, unless the new column value is outside the GetClip() or Screen.

If str requires more columns than are available, the output will be clipped.

AddStr(int, int, string)

Draws the specified str in the specified viewport-relative column and row of the View.

public void AddStr(int col, int row, string str)

Parameters

col int

Column (viewport-relative).

row int

Row (viewport-relative).

str string

The Text.

Remarks

The top-left corner of the visible content area is ViewPort.Location.