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

TextRectangle Collection

Internet Development Index

A collection of TextRectangle objects returned by the getClientRects method.

Members Table

PropertyDescription
length Sets or retrieves the number of objects in a collection.
MethodDescription
item Retrieves an object from the filters collection or various other collections.
namedItem   Retrieves an object or a collection from the specified collection.

Remarks

The collection returns an empty collection for objects that do not have text.

If the window is resized, the collection is not updated. Because the collection is a snapshot of the layout, always update the collection following the onresize event.

The TextRectangle collection is available as of Internet Explorer 5.

Example

This example shows how to use the getClientRects method and the TextRectangle collection to iterate through the lines of text in an object.

<SCRIPT>
function newHighlite(obj) {
oRcts = obj.getClientRects();
iLength = oRcts.length
for (i = 0;i < iLength; i++)
{
alert("Line number " + (i + 1) + " is " +
(oRcts(i).right - oRcts(i).left) + " pixels wide.")
}
}
</SCRIPT>

Standards Information

There is no public standard that applies to this collection.

See Also

TextRectangle
博爱县| 华池县| 灵台县| 高碑店市| 固原市| 渝中区| 周至县| 西乌珠穆沁旗| 武川县| 临猗县| 张北县| 唐河县| 房产| 南江县| 弥渡县| 沙雅县| 五寨县| 白河县| 福海县| 兴义市| 梨树县| 榆中县| 宁津县| 丽水市| 乌拉特后旗| 淅川县| 横山县| 淅川县| 巴塘县| 新和县| 浮梁县| 恩平市| 衡水市| 新安县| 朝阳区| 崇义县| 昌江| 高要市| 阿鲁科尔沁旗| 阿瓦提县| 景谷|