Click or drag to resize

TextRange Class

Represents a text range (region) within a row and column based text.
Inheritance Hierarchy
SystemObject
  ABB.Robotics.Controllers.RapidDomainTextRange

Namespace:  ABB.Robotics.Controllers.RapidDomain
Assembly:  ABB.Robotics.Controllers (in ABB.Robotics.Controllers.dll) Version: 6.5.129.0
Syntax
C#
public class TextRange

The TextRange type exposes the following members.

Constructors
  NameDescription
Public methodTextRange(Int32)
Initializes a new instance of the TextRange class. The region covers one single row/line.
Public methodTextRange(Int32, Int32)
Initializes a new instance of the TextRange class. The region is defined by the specified rows.
Public methodTextRange(Location, Location)
Initializes a new instance of the TextRange class.
Public methodTextRange(Int32, Int32, Int32, Int32)
Initializes a new instance of the TextRange class.
Top
Properties
  NameDescription
Public propertyBegin
Gets or sets the start of the text region
Public propertyEnd
Gets or sets the end of the text region
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Examples
A text region within a RAPID module can be defined as follows:
{{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.
See Also