TablesTableStyles

A collection of table styles.

Instance Properties

Name Description Access
length number The number of objects in the collection. read-only

Methods

add(
[withProperties])
 → TableStyle
anyItem(
)
 → TableStyle
count(
)
 → number
item(
index)
 → TableStyle
itemByID(
id)
 → TableStyle
itemByName(
name)
 → TableStyle
itemByRange(
from, to)
 → TableStyle
lastItem(
)
 → TableStyle
nextItem(
obj)
 → TableStyle
previousItem(
obj)
 → TableStyle
toSource(
)
 → string
add(
[withProperties])
 → TableStyle
Creates a new TableStyle.
withProperties Object Initial values for properties of the new TableStyle (Optional)
anyItem(
)
 → TableStyle
Returns any TableStyle in the collection.
count(
)
 → number
Displays the number of elements in the TableStyle.
everyItem(
)
 → TableStyle
Returns every TableStyle in the collection.
firstItem(
)
 → TableStyle
Returns the first TableStyle in the collection.
item(
index)
 → TableStyle
Returns the TableStyle with the specified index or name.
index The index or name. Can accept: Long Integer or String.
itemByID(
id)
 → TableStyle
Returns the TableStyle with the specified ID.
id number The ID.
itemByName(
name)
 → TableStyle
Returns the TableStyle with the specified name.
name string The name.
itemByRange(
from, to)
 → TableStyle
Returns the TableStyles within the specified range.
from The TableStyle, index, or name at the beginning of the range. Can accept: TableStyle, Long Integer or String.
to The TableStyle, index, or name at the end of the range. Can accept: TableStyle, Long Integer or String.
lastItem(
)
 → TableStyle
Returns the last TableStyle in the collection.
middleItem(
)
 → TableStyle
Returns the middle TableStyle in the collection.
nextItem(
obj)
 → TableStyle
Returns the TableStyle whose index follows the specified TableStyle in the collection.
obj TableStyle The TableStyle whose index comes before the desired TableStyle.
previousItem(
obj)
 → TableStyle
Returns the TableStyle with the index previous to the specified index.
obj TableStyle The index of the TableStyle that follows the desired TableStyle.
toSource(
)
 → string
Generates a string which, if executed, will return the TableStyle.