TextStyleRanges
QuickLinks
Properties
Property | Type | Access | Description |
---|---|---|---|
length | number | readonly | The number of objects in the collection. |
Methods
Instances
TextStyleRange [] (index:
number)
Returns the TextStyleRange with the specified index.
Parameter | Type | Description |
---|---|---|
index | number | The index. |
TextStyleRange anyItem ()
Returns any TextStyleRange in the collection.
number count ()
Displays the number of elements in the TextStyleRange.
Array of TextStyleRange everyItem ()
Returns every TextStyleRange in the collection.
TextStyleRange firstItem ()
Returns the first TextStyleRange in the collection.
TextStyleRange item (index:
any)
Returns the TextStyleRange with the specified index or name.
Parameter | Type | Description |
---|---|---|
index | Long Integer String | The index or name. Can accept: Long Integer or String. |
TextStyleRange itemByName (name:
string)
Returns the TextStyleRange with the specified name.
Parameter | Type | Description |
---|---|---|
name | string | The name. |
Array of TextStyleRange itemByRange (from:
any, to:
any)
Returns the TextStyleRanges within the specified range.
Parameter | Type | Description |
---|---|---|
from | Long Integer String TextStyleRange | The TextStyleRange, index, or name at the beginning of the range. Can accept: TextStyleRange, Long Integer or String. |
to | Long Integer String TextStyleRange | The TextStyleRange, index, or name at the end of the range. Can accept: TextStyleRange, Long Integer or String. |
TextStyleRange lastItem ()
Returns the last TextStyleRange in the collection.
TextStyleRange middleItem ()
Returns the middle TextStyleRange in the collection.
TextStyleRange nextItem (obj:
TextStyleRange)
Returns the TextStyleRange whose index follows the specified TextStyleRange in the collection.
Parameter | Type | Description |
---|---|---|
obj | TextStyleRange | The TextStyleRange whose index comes before the desired TextStyleRange. |
TextStyleRange previousItem (obj:
TextStyleRange)
Returns the TextStyleRange with the index previous to the specified index.
Parameter | Type | Description |
---|---|---|
obj | TextStyleRange | The index of the TextStyleRange that follows the desired TextStyleRange. |
string toSource ()
Generates a string which, if executed, will return the TextStyleRange.
Element of
Cell.textStyleRanges
Change.textStyleRanges
Character.textStyleRanges
Footnote.textStyleRanges
HiddenText.textStyleRanges
InsertionPoint.textStyleRanges
Line.textStyleRanges
Note.textStyleRanges
Paragraph.textStyleRanges
Story.textStyleRanges
Text.textStyleRanges
TextColumn.textStyleRanges
TextFrame.textStyleRanges
TextPath.textStyleRanges
TextStyleRange.textStyleRanges
Word.textStyleRanges
XMLElement.textStyleRanges
XmlStory.textStyleRanges
Jongware, 20-Jun-2010 v3.0.3d | Contents :: Index |