Skip to content

LegacyTextItems

legacyTextItems

A collection of LegacyTextItem objects.


legacyTextItems.length

Number of elements in the collection.

Number; read-only.


legacyTextItems.parent

The object’s container.

Object; read-only.


legacyTextItems.typename

The class name of the object.

String; read-only.


legacyTextItems.convertToNative()

Creates text frames from all legacy text items; the original legacy text items are deleted. Returns true on success.

Boolean.


legacyTextItems.getByName(name)

Get the first element in the collection with the specified name.

ParameterTypeDescription
nameStringName of element to get

LegacyTextItem


legacyTextItems.index(itemKey)

Gets an element from the collection.

ParameterTypeDescription
itemKeyString, NumberString or number key

LegacyTextItem


legacyTextItems.removeAll()

Deletes all elements in this collection.

Nothing.