A collection of object style groups.
Methods
ObjectStyleGroupadd ([withProperties:
Object])
Creates a new ObjectStyleGroup.
| Parameter | Type | Description |
|---|---|---|
| withProperties | Object | Initial values for properties of the new ObjectStyleGroup (Optional) |
ObjectStyleGroupanyItem ()
Returns any ObjectStyleGroup in the collection.
number count ()
Displays the number of elements in the ObjectStyleGroup.
Array of ObjectStyleGroupeveryItem ()
Returns every ObjectStyleGroup in the collection.
ObjectStyleGroupfirstItem ()
Returns the first ObjectStyleGroup in the collection.
ObjectStyleGroupitem (index:
any)
Returns the ObjectStyleGroup with the specified index or name.
| Parameter | Type | Description |
|---|---|---|
| index | Long Integer String |
The index or name. Can accept: Long Integer or String. |
ObjectStyleGroupitemByID (id:
number)
Returns the ObjectStyleGroup with the specified ID.
| Parameter | Type | Description |
|---|---|---|
| id | number | The ID. |
ObjectStyleGroupitemByName (name:
string)
Returns the ObjectStyleGroup with the specified name.
| Parameter | Type | Description |
|---|---|---|
| name | string | The name. |
Array of ObjectStyleGroupitemByRange (from:
any, to:
any)
Returns the ObjectStyleGroups within the specified range.
| Parameter | Type | Description |
|---|---|---|
| from | ObjectStyleGroup Long Integer String |
The ObjectStyleGroup, index, or name at the beginning of the range. Can accept: ObjectStyleGroup, Long Integer or String. |
| to | ObjectStyleGroup Long Integer String |
The ObjectStyleGroup, index, or name at the end of the range. Can accept: ObjectStyleGroup, Long Integer or String. |
ObjectStyleGrouplastItem ()
Returns the last ObjectStyleGroup in the collection.
ObjectStyleGroupmiddleItem ()
Returns the middle ObjectStyleGroup in the collection.
ObjectStyleGroupnextItem (obj:
ObjectStyleGroup)
Returns the ObjectStyleGroup whose index follows the specified ObjectStyleGroup in the collection.
| Parameter | Type | Description |
|---|---|---|
| obj | ObjectStyleGroup | The ObjectStyleGroup whose index comes before the desired ObjectStyleGroup. |
ObjectStyleGrouppreviousItem (obj:
ObjectStyleGroup)
Returns the ObjectStyleGroup with the index previous to the specified index.
| Parameter | Type | Description |
|---|---|---|
| obj | ObjectStyleGroup | The index of the ObjectStyleGroup that follows the desired ObjectStyleGroup. |
string toSource ()
Generates a string which, if executed, will return the ObjectStyleGroup.
Element of:
Application.objectStyleGroups
Document.objectStyleGroups
ObjectStyleGroup.objectStyleGroups