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

TerminalScreen Class

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

Represents a terminal screen.

Syntax
public class TerminalScreen
Inheritance
Object
TerminalScreen
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()

Properties

Name Description
Columns

Gets the number of character columns.

CursorLeft

Gets the cursor column (0 is the first column).

CursorTop

Gets the cursor row (0 is the first row).

Rows

Gets the number of character rows.

Methods

Name Description
Clear()

Clears the whole screen and sets cursor position to the top-left corner.

Clear(Boolean)

Clears the whole screen and sets cursor position to the top-left corner.

GetCell(Int32, Int32)

Gets the cell at the specified position.

GetRegion(Int32, Int32, Int32, Int32)

Gets the array of cells at the specified region represented by the TerminalScreenRegion class.

GetRegionText(Int32, Int32, Int32, Int32)

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

MoveBufferArea(Int32, Int32, Int32, Int32, Int32, Int32)

Moves the specified region of screen buffer to the specified position.

SetCell(Int32, Int32, TerminalCell)

Sets the cell at the specified position to the specified cell.

SetCursorPosition(Int32, Int32)

Sets the cursor position.

Write(Object)

Writes the text represented by the specified object to the console.

Write(String)

Writes the specified string to the console.

Write(String, Object[])

Writes the text represented by the specified array of objects to the console.

WriteLine()

Writes a newline character to the console.

WriteLine(Object)

Writes the text represented by the specified object to the console, followed by a newline character.

WriteLine(String)

Writes the specified string to the console, followed by a newline character.

WriteLine(String, Object[])

Writes the text represented by the specified array of objects to the console, followed by a newline character.

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