Action
Retrieves a clipping of the screen and returns the selected lines in a list of strings.
Syntax
C#
lines = screen.GetLines([fromPosition, toPosition])
VB
lines = screen.GetLines([fromPosition, toPosition])
Variable |
Description |
lines |
List(Of String).
|
fromPosition |
Optional: The upper left position of the clipping on the screen, starting with 1 for the first line or column. Position values must
be greater than 0 and less than the corresponding screen dimension, otherwise an Exception will be thrown. TextPosition.
|
toPosition |
Optional: The lower right position of the clipping on the screen. An exception will be thrown if the relative position to $fromPosition$
is invalid. Position values must be greater than 0 and less than the corresponding screen dimension, otherwise an Exception
will be thrown. TextPosition.
|