Home | Top | Free Ajax Editor | JavaScript Editor | Get Advanced JavaScript and Ajax Editor, Validator and Debugger! 1st JavaScript Editor. |
Returns a value indicating whether one range is contained within another.
Syntax
bFound = TextRange .inRange( oRange )Parameters
oRange | Required. TextRange object that might be contained. |
Return Value
Boolean that returns one of the following possible values.
true | oRange is contained within or is equal to the TextRange object on which the method is called. |
false | oRange is not contained within the TextRange object on which the method is called. |
Remarks
This feature might not be available on platforms other than Microsoft® Win32®.
Examples
The following example shows how to use the inRange method to show that two TextRange objects are equal.
<HTML>
The following example shows how to use the inRange method to show that two contained ranges are not equal.
<HTML>
The following example shows how to use the inRange method to show that a text range exists within another text range.
<HTML>
Standards Information
There is no public standard that applies to this method.
Applies To
|
TextRange |
Home | Top | Free Ajax Editor | JavaScript Editor | Get Advanced JavaScript and Ajax Editor, Validator and Debugger! 1st JavaScript Editor. |