TextRange Class |
Namespace: ABB.Robotics.Controllers.RapidDomain
public class TextRange
The TextRange type exposes the following members.
| Name | Description | |
|---|---|---|
| TextRange(Int32) |
Initializes a new instance of the TextRange class.
The region covers one single row/line.
| |
| TextRange(Int32, Int32) |
Initializes a new instance of the TextRange class.
The region is defined by the specified rows.
| |
| TextRange(Location, Location) |
Initializes a new instance of the TextRange class.
| |
| TextRange(Int32, Int32, Int32, Int32) |
Initializes a new instance of the TextRange class.
|
| Name | Description | |
|---|---|---|
| Begin |
Gets or sets the start of the text region
| |
| End |
Gets or sets the end of the text region
|
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
{{1, 1}, {1, 10}} - Represents the first ten positions of the first line
{{1, 1}, {1, -1}} - Represents the whole first line
{{1, 1}, {-1, -1}} - Represents all module text
{{7, 5}, {8, 12}} - Represents text from and including line 7, column 5 to and including line 8, column 12.