Edit in GitHubLog an issue

Texts

A collection of text objects.

Instance

Read Only

Number length

The number of objects in the collection.

Methods

Number count()

Displays the number of elements in the Text.


Text item( Mixed index )

Returns the Text with the specified index or name.

Parameters

TypeNameDescription
Mixed
index
The index or name. Can accept: Long Integer or String.

Text itemByRange( Mixed from, Mixed to )

Returns the Texts within the specified range.

Parameters

TypeNameDescription
Mixed
from
The Text, index, or name at the beginning of the range. Can accept: Text, Long Integer or String.
Mixed
to
The Text, index, or name at the end of the range. Can accept: Text, Long Integer or String.

Text firstItem()

Returns the first Text in the collection.


Text lastItem()

Returns the last Text in the collection.


Text middleItem()

Returns the middle Text in the collection.


Text previousItem( Text obj )

Returns the Text with the index previous to the specified index.

Parameters

TypeNameDescription
Text
obj
The index of the Text that follows the desired Text.

Text nextItem( Text obj )

Returns the Text whose index follows the specified Text in the collection.

Parameters

TypeNameDescription
Text
obj
The Text whose index comes before the desired Text.

Text anyItem()

Returns any Text in the collection.


Text everyItem()

Returns every Text in the collection.


String toSource()

Generates a string which, if executed, will return the Text.


Text []( Number index )

Returns the Text with the specified index.

Parameters

TypeNameDescription
Number
index
The index.
Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2023 Adobe. All rights reserved.