asp.net.ph

Skip Navigation Links

inRange Method

DHTML Methods


Returns whether one range ( the parameter ) is contained within another.

Syntax

bFound = object.inRange ( oRange ) 
Parameters

oRange Required. Reference to a Text Range.

Return Value

Boolean. Returns TRUE if the range passed as the method parameter is contained within or is equal to the range upon which the method is called. Returns FALSE otherwise.

Remarks

This feature might not be available on non-Win32® platforms. See the Microsoft® Knowledge Base for the latest information on Internet Explorer® cross-platform compatibility.

Example

The following three examples show equal text ranges, a contained range, and a range that is outside the range upon which inRange is called.

Sample Code


Applies To

TextRange

See Also

isEqual



© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note