TabStops

A collection of tab stops.

Methods

TabStopadd ([withProperties:
Object])
Creates a new TabStop.

Parameter Type Description
withProperties Object Initial values for properties of the new TabStop (Optional)

TabStopanyItem ()
Returns any TabStop in the collection.

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

Array of TabStopeveryItem ()
Returns every TabStop in the collection.

TabStopfirstItem ()
Returns the first TabStop in the collection.

TabStopitem (index:
any)
Returns the TabStop with the specified index or name.

Parameter Type Description
index Long Integer
String
The index or name. Can accept: Long Integer or String.

TabStopitemByName (name:
string)
Returns the TabStop with the specified name.

Parameter Type Description
name string The name.

Array of TabStopitemByRange (from:
any, to:
any)
Returns the TabStops within the specified range.

Parameter Type Description
from TabStop
Long Integer
String
The TabStop, index, or name at the beginning of the range. Can accept: TabStop, Long Integer or String.
to TabStop
Long Integer
String
The TabStop, index, or name at the end of the range. Can accept: TabStop, Long Integer or String.

TabStoplastItem ()
Returns the last TabStop in the collection.

TabStopmiddleItem ()
Returns the middle TabStop in the collection.

TabStopnextItem (obj:
TabStop)
Returns the TabStop whose index follows the specified TabStop in the collection.

Parameter Type Description
obj TabStop The TabStop whose index comes before the desired TabStop.

TabStoppreviousItem (obj:
TabStop)
Returns the TabStop with the index previous to the specified index.

Parameter Type Description
obj TabStop The index of the TabStop that follows the desired TabStop.

string toSource ()
Generates a string which, if executed, will return the TabStop.

Element of:

Character.tabStops
InsertionPoint.tabStops
Line.tabStops
Paragraph.tabStops
ParagraphStyle.tabStops
Story.tabStops
Text.tabStops
TextColumn.tabStops
TextDefault.tabStops
TextStyleRange.tabStops
Word.tabStops

Leave a Comment

Previous post:

Next post: