Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

TerminalScreen.GetRegionText Method

Namespace: Rebex.TerminalEmulation
Assembly: Rebex.Terminal.dll (version 8.0.9673)

GetRegionText(Int32, Int32, Int32, Int32)

Gets the text at the specified region. It is represented by array of lines.

Declaration
public string[] GetRegionText(int column, int row, int width, int height)
Parameters
Type Name Description
Int32 column

Cell column (0 is the first column).

Int32 row

Cell row (-HistoryLength is the lowest row, 0 is the first row on the screen).

Int32 width

Width of the region.

Int32 height

Height of the region.

Returns
Type Description
String[]

An array of text lines representing the region of the cells.

Remarks

Lines have typically same length as the width of the requested region. However, it does not have to be always true. The length of a line can be smaller if it contains double-width characters. The length of a line can be larger if it contains Unicode surrogate-pair characters.

In This Article
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies