RangeCollection
RangeCollection class
Encapsulates a collection of Range objects.
class RangeCollection;
Methods
| Method | Description | 
|---|---|
| get(number) | Gets the Range element at the specified index. | 
| add(Range) | Adds a Range item to the collection. | 
get(number)
Gets the Range element at the specified index.
get(index: number) : Range;
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| index | number | The zero based index of the element. | 
Returns
The element at the specified index.
add(Range)
Adds a Range item to the collection.
add(range: Range) : number;
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| range | Range | Range object |