Programmer's Guide > Interfaces > W3C Range interface > CompareHow enumeration
  
CompareHow enumeration
Passed as a parameter to the compareBoundaryPoints method.
The CompareHow enumeration has the following constants of type unsigned short.
START_TO_START = 0
Compare start boundary-point of sourceRange to start boundary-point of Range on which compareBoundaryPoints is invoked.
START_TO_END = 1
Compare start boundary-point of sourceRange to end boundary-point of Range on which compareBoundaryPoints is invoked.
END_TO_END = 2
Compare end boundary-point of sourceRange to end boundary-point of Range on which compareBoundaryPoints is invoked.
END_TO_START = 3
Compare end boundary-point of sourceRange to start boundary-point of Range on which compareBoundaryPoints is invoked.