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.
getCount()Gets the number of elements contained in.

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

getCount()

Gets the number of elements contained in.

getCount() : number;