RangeCollection

RangeCollection class

Encapsulates a collection of Range objects.

class RangeCollection;

Methods

MethodDescription
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:

ParameterTypeDescription
indexnumberThe 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:

ParameterTypeDescription
rangeRangeRange object