compareBoundaryPoints method

Compares two ranges by comparing their boundary points.

 

Syntax

 retVal = object.compareBoundaryPoints(how, sourceRange);

Parameters

how [in]

Type: short

Specifies how sourceRange is compared to the range of the object on which IHTMLDOMRange::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: object

Range object  that is compared to the range of the object on which IHTMLDOMRange::compareBoundaryPoints is invoked.

Standards information