A collection of text objects.
Go to Property Listing | Method Listing
[], anyItem, count, everyItem, firstItem, item, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource
Property |
Type |
Access |
Description |
---|---|---|---|
readonly |
The number of objects in the collection. |
Text [] (index:Number)
Returns the Text with the specified index.
Parameter |
Type |
Description |
---|---|---|
index |
The index. |
Text anyItem ()
Returns any Text in the collection.
Number count ()
Displays the number of elements in the Text.
Text everyItem ()
Returns every Text in the collection.
Text firstItem ()
Returns the first Text in the collection.
Text item (index:Varies LongInteger String)
Returns the Text with the specified index or name.
Parameter |
Type |
Description |
---|---|---|
index |
LongInteger |
The index or name. Can accept: Long Integer or String. |
Text itemByRange (from:Varies LongInteger Text String, to:Varies LongInteger Text String)
Returns the Texts within the specified range.
Parameter |
Type |
Description |
---|---|---|
from |
LongInteger |
The Text, index, or name at the beginning of the range. Can accept: Text, Long Integer or String. |
to |
LongInteger |
The Text, index, or name at the end of the range. Can accept: Text, Long Integer or String. |
Text lastItem ()
Returns the last Text in the collection.
Text middleItem ()
Returns the middle Text in the collection.
Text nextItem (obj:Text)
Returns the Text whose index follows the specified Text in the collection.
Parameter |
Type |
Description |
---|---|---|
obj |
The Text whose index comes before the desired Text. |
Text previousItem (obj:Text)
Returns the Text with the index previous to the specified index.
Parameter |
Type |
Description |
---|---|---|
obj |
The index of the Text that follows the desired Text. |
String toSource ()
Generates a string which, if executed, will return the Text.
Cell.texts
Text.texts
Character.texts
Word.texts
Line.texts
TextColumn.texts
Paragraph.texts
TextStyleRange.texts
InsertionPoint.texts
TextFrame.texts
Story.texts
Endnote.texts
EndnoteTextFrame.texts
Change.texts
TextPath.texts
Note.texts
Footnote.texts
HiddenText.texts
XMLElement.texts
XmlStory.texts