Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
compareBoundaryPoints

compareBoundaryPoints method

Compares two ranges by comparing their boundary points.

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

 

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

 

 

Community Additions

ADD
Show:
© 2015 Microsoft