compareBoundaryPoints method

[This documentation is preliminary and is subject to change.]

Compares two ranges by comparing their boundary points.

Document Object Model (DOM) Level 2 Traversal and Range Specification, Section 2.13Internet Explorer 9

Syntax

long retVal = object.compareBoundaryPoints(how, sourceRange);

Standards information

Parameters

how [in]

Type: short

Specifies how sourceRange is compared to the range of the object on which compareBoundaryPoints is invoked.

START_TO_START

Compares the start boundary point of both ranges.

START_TO_END

Compares the start boundary point of sourceRange with the end boundary point of the other range.

END_TO_END

Compares the end boundary points of both ranges.

END_TO_START

Compares the end boundary point of sourceRange to the start boundary point of the other range.

sourceRange [in]

Type: IDispatch

Pointer to an IHTMLDOMRange interface that is compared to the range of the object on which compareBoundaryPoints is invoked.

 

 

Build date: 1/26/2012