最新国产好看的视频,伊人天堂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
葵青区| 合水县| 洞口县| 那曲县| 马公市| 信阳市| 峡江县| 乐平市| 德化县| 德保县| 灵宝市| 腾冲县| 朝阳县| 普兰县| 吴桥县| 闽清县| 清丰县| 苗栗市| 德格县| 阳高县| 延庆县| 思南县| 航空| 新津县| 台山市| 高邑县| 和林格尔县| 岳西县| 休宁县| 吴旗县| 双牌县| 泊头市| 太谷县| 鹤岗市| 苗栗县| 邻水| 淄博市| 阳城县| 开平市| 临猗县| 团风县|