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

setEndPoint Method

Internet Development Index

Sets the endpoint of one range based on the endpoint of another range.

Syntax

TextRange.setEndPoint(sType, oTextRange)

Parameters

sType Required. String爐hat specifies the endpoint to transfer using one of the following values.
StartToEndMove the start of the TextRange object to the end of the specified oTextRange parameter.
StartToStartMove the start of the TextRange object to the start of the specified oTextRange parameter.
EndToStartMove the end of the TextRange object to the start of the specified oTextRange parameter.
EndToEndMove the end of the TextRange object to the end of the specified oTextRange parameter.
oTextRange Required. TextRange object from which the source endpoint is to be taken.

Return Value

No return value.

Remarks

A text range has two endpoints: one at the beginning of the text range and one at the end. An endpoint can also be the position between two characters in an HTML document.

In Microsoft® Internet Explorer 4.0, an endpoint is relative to text only, not HTML tags.

There are four possible endpoint locations in the following HTML.

<BODY><P><B>abc

The possible endpoint locations are:

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

In Internet Explorer 4.0, an endpoint cannot be established between body and p. Specifying an endpoint between body and p is interpreted as if it occurs before the letter a.

This feature might not be available on platforms other than Microsoft Win32®.

Example

The following example shows how to use the setEndPoint method to set the start point of the current range (r1) to the endpoint of the second range (r2).

<SCRIPT LANGUAGE="JScript">
r1.setEndPoint("StartToEnd", r2);
</SCRIPT>

Standards Information

There is no public standard that applies to this method.

Applies To

TextRange

See Also

compareEndPoints
新巴尔虎左旗| 安义县| 榕江县| 柳州市| 海林市| 大宁县| 清苑县| 资源县| 牙克石市| 舒兰市| 金华市| 克什克腾旗| 冀州市| 杭锦旗| 平定县| 临沭县| 合阳县| 浑源县| 桦川县| 临汾市| 乐亭县| 新巴尔虎左旗| 甘孜县| 从化市| 龙游县| 新昌县| 通山县| 六枝特区| 册亨县| 江北区| 合山市| 肇庆市| 湘潭市| 罗山县| 建湖县| 宝应县| 大名县| 诸城市| 张家港市| 长阳| 贞丰县|