TablesCellStyleGroups

A collection of cell style groups.

Instance Properties

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

Methods

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