行
lines
表示文本框架中文本行的 TextRange 对象集合。元素没有名称;必须通过索引访问它们。
Lines.length
Section titled “Lines.length”lines.length
集合中的元素数量。
数字;只读。
Lines.parent
Section titled “Lines.parent”lines.parent
对象的容器。
对象;只读。
Lines.typename
Section titled “Lines.typename”lines.typename
对象的类名。
字符串;只读。
Lines.index()
Section titled “Lines.index()”lines.index(itemKey)
从集合中获取一个元素。
参数 | 类型 | 描述 |
---|---|---|
itemKey | 字符串, 数字 | 字符串或数字键 |
Lines.removeAll()
Section titled “Lines.removeAll()”lines.removeAll()
删除此集合中的所有元素。
无。