Gets the cell at the specified position.

Namespace:  Rebex.TerminalEmulation
Assembly:  Rebex.Terminal (in Rebex.Terminal.dll)

Syntax

Visual Basic
Public Function GetCell ( _
	column As Integer, _
	row As Integer _
) As TerminalCell
C#
public TerminalCell GetCell(
	int column,
	int row
)

Parameters

column
Type: System..::..Int32
Cell column (0 is the first column).
row
Type: System..::..Int32
Cell row (-HistoryLength is the lowest row, 0 is the first row on the screen).

Return Value

Character cell.

Remarks

For optimization purpose empty cells with BackColor = 0 are discarded from history. If a discarded cell is requested an empty cell with BackColor = 0, ForeColor = 7 and default formatting properties is returned instead.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also