Skip to content

Lines

lines

A collection of TextRange objects representing lines of text in a text frame. The elements are not named; you must access them by index.


lines.length

Number of elements in the collection.

Number; read-only.


lines.parent

The object’s container.

Object; read-only.


lines.typename

The class name of the object.

String; read-only.


lines.index(itemKey)

Gets an element from the collection.

ParameterTypeDescription
itemKeyString, NumberString or number key

TextRange


lines.removeAll()

Deletes all elements in this collection.

Nothing.