createRange method

Creates a TextRange object from the current text selection, or a controlRange collection from a control selection.

For the standards-based method, see IHTMLSelectionObject::createRange.

Syntax

oRange retVal = object.createRange();

Parameters

This method has no parameters.

Standards information

There are no standards that apply here.