A collection of text objects.
Methods
TextanyItem ()
Returns any Text in the collection.
number count ()
Displays the number of elements in the Text.
Array of TexteveryItem ()
Returns every Text in the collection.
TextfirstItem ()
Returns the first Text in the collection.
Textitem (index:
any)
Returns the Text with the specified index or name.
| Parameter | Type | Description |
|---|---|---|
| index | Long Integer String |
The index or name. Can accept: Long Integer or String. |
TextitemByName (name:
string)
Returns the Text with the specified name.
| Parameter | Type | Description |
|---|---|---|
| name | string | The name. |
Array of TextitemByRange (from:
any, to:
any)
Returns the Texts within the specified range.
| Parameter | Type | Description |
|---|---|---|
| from | Text Long Integer String |
The Text, index, or name at the beginning of the range. Can accept: Text, Long Integer or String. |
| to | Text Long Integer String |
The Text, index, or name at the end of the range. Can accept: Text, Long Integer or String. |
TextlastItem ()
Returns the last Text in the collection.
TextmiddleItem ()
Returns the middle Text in the collection.
TextnextItem (obj:
Text)
Returns the Text whose index follows the specified Text in the collection.
| Parameter | Type | Description |
|---|---|---|
| obj | Text | The Text whose index comes before the desired Text. |
TextpreviousItem (obj:
Text)
Returns the Text with the index previous to the specified index.
| Parameter | Type | Description |
|---|---|---|
| obj | Text | The index of the Text that follows the desired Text. |
string toSource ()
Generates a string which, if executed, will return the Text.
Element of:
Cell.texts
Character.texts
Footnote.texts
InsertionPoint.texts
Line.texts
Note.texts
Paragraph.texts
Story.texts
Text.texts
TextColumn.texts
TextFrame.texts
TextPath.texts
TextStyleRange.texts
Word.texts
XMLElement.texts
XmlStory.texts