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 createRange.

Syntax

var retval = selection.createRange();

Parameters

This method has no parameters.

Return value

Type: oRange

Returns the created TextRange object.

Standards information

There are no standards that apply here.

See also

selection

 

 

Show:
© 2014 Microsoft