LegacyTextItems
LegacyTextItems
Section titled “LegacyTextItems”legacyTextItems
Description
Section titled “Description”A collection of LegacyTextItem objects.
Properties
Section titled “Properties”LegacyTextItems.length
Section titled “LegacyTextItems.length”legacyTextItems.length
Description
Section titled “Description”Number of elements in the collection.
Number; read-only.
LegacyTextItems.parent
Section titled “LegacyTextItems.parent”legacyTextItems.parent
Description
Section titled “Description”The object’s container.
Object; read-only.
LegacyTextItems.typename
Section titled “LegacyTextItems.typename”legacyTextItems.typename
Description
Section titled “Description”The class name of the object.
String; read-only.
Methods
Section titled “Methods”LegacyTextItems.convertToNative()
Section titled “LegacyTextItems.convertToNative()”legacyTextItems.convertToNative()
Description
Section titled “Description”Creates text frames from all legacy text items; the original legacy text items are deleted. Returns true
on success.
Returns
Section titled “Returns”Boolean.
LegacyTextItems.getByName()
Section titled “LegacyTextItems.getByName()”legacyTextItems.getByName(name)
Description
Section titled “Description”Get the first element in the collection with the specified name.
Parameters
Section titled “Parameters”Parameter | Type | Description |
---|---|---|
name | String | Name of element to get |
Returns
Section titled “Returns”LegacyTextItems.index()
Section titled “LegacyTextItems.index()”legacyTextItems.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”LegacyTextItems.removeAll()
Section titled “LegacyTextItems.removeAll()”legacyTextItems.removeAll()
Description
Section titled “Description”Deletes all elements in this collection.
Returns
Section titled “Returns”Nothing.