expression.SelectText( _ ByVal startRow As Integer, _ ByVal startColumn As Integer, _ ByVal endRow As Integer, _ ByVal endColumn As Integer, _ ByVal region As RegionOption _ ) As ReturnCode
where expression is a variable that represents a Screen Object
Parameters
- startRow
- Beginning row of text selection.
- startColumn
- Beginning column of text selection.
- endRow
- Ending row of text selection. The valid range is 1 through the number of rows.
- endColumn
- Ending column of text selection. The valid range is 1 through the number of columns.
- region
- A RegionOption value that specifies a wrapped or rectangular region.
Return Value
One of the following ReturnCode enumeration values.
| Member | Description |
|---|---|
| Cancelled | Cancelled. |
| Error | Error. |
| PermissionRequired | Permission is required. |
| Success | Success. |
| Timeout | Timeout condition. |
| Truncated | The text is truncated. |