Attachmate.Reflection.Objects.Emulation.UTS Library > UtsScreen Object : ExtendSelectionRect Method |
Exception | Description |
---|---|
System.ArgumentOutOfRangeException | This exception is thrown if the row or column parameters are outside the range of valid values: (1 to Rows) or (1 to Columns). |
Use the SetSelectionStartPos method to set the starting coordinates.
The ExtendSelectionRect method returns a rectangular block of text between the starting and ending row, resulting in a block of text shaped like this:
xxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxx
The ExtendSelection method returns a block of text shaped like this:
xxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxx