Selection.getRangeAt()

Availability

BlackBerry Device Software version 4.7.1 or later

The getRangeAt() method returns a Range object that is present in the selection.

Syntax

Selection.getRangeAt( index )

Parameters

Parameter

Type

Description

index

int

Specifies an integer that represents the Range object’s position in the frame map. Valid values are from 0 to Selection.rangeCount -1.

Return values

This method returns the Range object at the specified index.

Exceptions

None.

Last modified: 2013-08-14