TextRange.inRange() (Method)

Tests for one text range within another.


JScript - 3.0
Internet Explorer - 4.0
Property/method value type:Boolean primitive
JavaScript syntax:IEmyTextRange.inRange(aTextRange)
Argument list:aTextRangeAnother TextRange to test against

Given that you have two distinctly separate TextRange objects, you can test whether one is contained within the other by passing it as an argument to this method.