Class

Texts

 A collection of text objects.

See also Text.

QuickLinks

[], anyItem, count, everyItem, firstItem, item, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource

Properties

PropertyTypeAccessDescription
lengthnumber readonlyThe number of objects in the collection.

Methods

Instances

Text [] (index: number)
Returns the Text with the specified index.

ParameterTypeDescription
indexnumberThe index.

Text anyItem ()
Returns any Text in the collection.

number count ()
Displays the number of elements in the Text.

Array of Text everyItem ()
Returns every Text in the collection.

Text firstItem ()
Returns the first Text in the collection.

Text item (index: varies)
Returns the Text with the specified index or name.

ParameterTypeDescription
indexLong Integer
String
The index or name. Can accept: Long Integer or String.

Array of Text itemByRange (from: varies, to: varies)
Returns the Texts within the specified range.

ParameterTypeDescription
fromLong Integer
String
Text
The Text, index, or name at the beginning of the range. Can accept: Text, Long Integer or String.
toLong Integer
String
Text
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.

ParameterTypeDescription
objTextThe Text whose index comes before the desired Text.

Text previousItem (obj: Text)
Returns the Text with the index previous to the specified index.

ParameterTypeDescription
objTextThe 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

Change.texts

Character.texts

Footnote.texts

HiddenText.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

Jongware, 28-Apr-2012 v3.0.3iContents :: Index