最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

compareEndPoints Method

Internet Development Index

Compares an end point of a TextRange object with an end point of another range.

Syntax

iResult = TextRange.compareEndPoints(sType, oRange)

Parameters

sType Required. String爐hat specifies one of the following values:
StartToEndCompare the start of the TextRange object with the end of the oRange parameter.
StartToStartCompare the start of the TextRange object with the start of the oRange parameter.
EndToStartCompare the end of the TextRange object with the start of the oRange parameter.
EndToEndCompare the end of the TextRange object with the end of the oRange parameter.
oRange Required. TextRange object爐hat specifies the range to compare with the object.

Return Value

Integer. Returns爋ne of the following possible values:

-1The end point of the object is further to the left than the end point of oRange .
0The end point of the object is at the same location as the end point of oRange .
1The end point of the object is further to the right than the end point of oRange .

Remarks

A text range has two end points. One end point is located at the beginning of the text range, and the other is located at the end of the text range. An end point also can be characterized as the position between two characters in an HTML document.

As of Microsoft® Internet Explorer 4.0, an end point is relative to text only, not HTML tags.

There are four possible end points in the following HTML:

<BODY><P><B>abc

The possible end points are:

  • Before the letter a.
  • Between the letters a and b.
  • Between the letters b and c.
  • After the letter c.

An end point cannot be established between the body and the p. Such an end point is considered to be located before the letter a.

This method might not be available on non-Microsoft Win32® platforms.

Standards Information

There is no public standard that applies to this method.

Applies To

TextRange

See Also

setEndPoint
宜川县| 浙江省| 乌苏市| 凌云县| 商丘市| 龙门县| 杭州市| 芜湖市| 静宁县| 广灵县| 丁青县| 白河县| 尼玛县| 黄大仙区| 如皋市| 保亭| 兰州市| 宣汉县| 嘉义县| 宁明县| 巴林左旗| 云南省| 锡林浩特市| 繁峙县| 五莲县| 乐昌市| 玉溪市| 徐闻县| 乌鲁木齐市| 新乡县| 莱阳市| 慈溪市| 屯门区| 梁平县| 宝应县| 若羌县| 碌曲县| 长泰县| 丰台区| 安阳县| 青河县|