GetContent Method (RumbaScreen)

Class

RumbaScreen.

Action

Retrieves a string containing the screen without line breaks starting at the specified text position.

Position values must be greater than 0 and less than the corresponding screen dimension.

Syntax

C#
content = screen.GetContent(fromPosition, [length])
VB
content = screen.GetContent(fromPosition, [length])
Variable Description
content String.
fromPosition The start position on the screen, starting with 1 for the first column or line. TextPosition.
length Optional: The number of characters on the screen to read. A specified length must be greater than -1. Reading stops at the end of the screen. If omitted the content to the end of the screen is returned. Integer.