Lines
lines
Description
Section titled “Description”A collection of TextRange objects representing lines of text in a text frame. The elements are not named; you must access them by index.
Properties
Section titled “Properties”Lines.length
Section titled “Lines.length”lines.length
Description
Section titled “Description”Number of elements in the collection.
Number; read-only.
Lines.parent
Section titled “Lines.parent”lines.parent
Description
Section titled “Description”The object’s container.
Object; read-only.
Lines.typename
Section titled “Lines.typename”lines.typename
Description
Section titled “Description”The class name of the object.
String; read-only.
Methods
Section titled “Methods”Lines.index()
Section titled “Lines.index()”lines.index(itemKey)
Description
Section titled “Description”Gets an element from the collection.
Parameters
Section titled “Parameters”Parameter | Type | Description |
---|---|---|
itemKey | String, Number | String or number key |
Returns
Section titled “Returns”Lines.removeAll()
Section titled “Lines.removeAll()”lines.removeAll()
Description
Section titled “Description”Deletes all elements in this collection.
Returns
Section titled “Returns”Nothing.