CharacterStyleGroups
A collection of character style groups.
Go to Property Listing | Method Listing
Methods:
[], add, anyItem, count, everyItem, firstItem, item, itemByID, itemByName, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource
Property Listing
Property |
Type |
Access |
Description |
---|---|---|---|
readonly |
The number of objects in the collection. |
Method Listing
CharacterStyleGroup [] (index:Number)
Returns the CharacterStyleGroup with the specified index.
Parameter |
Type |
Description |
---|---|---|
index |
The index. |
CharacterStyleGroup add (withProperties:Object)
Creates a new CharacterStyleGroup.
Parameter |
Type |
Description |
---|---|---|
withProperties |
Initial values for properties of the new CharacterStyleGroup (Optional) |
CharacterStyleGroup anyItem ()
Returns any CharacterStyleGroup in the collection.
Number count ()
Displays the number of elements in the CharacterStyleGroup.
CharacterStyleGroup everyItem ()
Returns every CharacterStyleGroup in the collection.
CharacterStyleGroup firstItem ()
Returns the first CharacterStyleGroup in the collection.
CharacterStyleGroup item (index:Varies LongInteger String)
Returns the CharacterStyleGroup with the specified index or name.
Parameter |
Type |
Description |
---|---|---|
index |
LongInteger |
The index or name. Can accept: Long Integer or String. |
CharacterStyleGroup itemByID (id:Number)
Returns the CharacterStyleGroup with the specified ID.
Parameter |
Type |
Description |
---|---|---|
id |
The ID. |
CharacterStyleGroup itemByName (name:String)
Returns the CharacterStyleGroup with the specified name.
Parameter |
Type |
Description |
---|---|---|
name |
The name. |
CharacterStyleGroup itemByRange (from:Varies CharacterStyleGroup LongInteger String, to:Varies CharacterStyleGroup LongInteger String)
Returns the CharacterStyleGroups within the specified range.
Parameter |
Type |
Description |
---|---|---|
from |
LongInteger |
The CharacterStyleGroup, index, or name at the beginning of the range. Can accept: CharacterStyleGroup, Long Integer or String. |
to |
LongInteger |
The CharacterStyleGroup, index, or name at the end of the range. Can accept: CharacterStyleGroup, Long Integer or String. |
CharacterStyleGroup lastItem ()
Returns the last CharacterStyleGroup in the collection.
CharacterStyleGroup middleItem ()
Returns the middle CharacterStyleGroup in the collection.
CharacterStyleGroup nextItem (obj:CharacterStyleGroup)
Returns the CharacterStyleGroup whose index follows the specified CharacterStyleGroup in the collection.
Parameter |
Type |
Description |
---|---|---|
obj |
The CharacterStyleGroup whose index comes before the desired CharacterStyleGroup. |
CharacterStyleGroup previousItem (obj:CharacterStyleGroup)
Returns the CharacterStyleGroup with the index previous to the specified index.
Parameter |
Type |
Description |
---|---|---|
obj |
The index of the CharacterStyleGroup that follows the desired CharacterStyleGroup. |
String toSource ()
Generates a string which, if executed, will return the CharacterStyleGroup.
Object of
Application.characterStyleGroups
Document.characterStyleGroups
CharacterStyleGroup.characterStyleGroups