CharacterStyles
QuickLinks
Properties
Property | Type | Access | Description |
---|---|---|---|
length | Long Integer NothingEnum |
readonly | The number of objects in the collection. Can return: Long Integer or NothingEnum enumerator. |
Methods
Instances
CharacterStyle [] (index:
number)
Returns the CharacterStyle with the specified index.
Parameter | Type | Description |
---|---|---|
index | number | The index. |
CharacterStyle add ([withProperties:
Object])
Creates a new CharacterStyle.
Parameter | Type | Description |
---|---|---|
withProperties | Object | Initial values for properties of the new CharacterStyle (Optional) |
CharacterStyle anyItem ()
Returns any CharacterStyle in the collection.
number count ()
Displays the number of elements in the CharacterStyle.
Array
of CharacterStyle everyItem ()
Returns every CharacterStyle in the collection.
CharacterStyle firstItem ()
Returns the first CharacterStyle in the collection.
CharacterStyle item (index:
varies)
Returns the CharacterStyle with the specified index or name.
Parameter | Type | Description |
---|---|---|
index | Long Integer String | The index or name. Can accept: Long Integer or String. |
CharacterStyle itemByID (id:
number)
Returns the CharacterStyle with the specified ID.
Parameter | Type | Description |
---|---|---|
id | number | The ID. |
CharacterStyle itemByName (name:
string)
Returns the CharacterStyle with the specified name.
Parameter | Type | Description |
---|---|---|
name | string | The name. |
Array
of CharacterStyle itemByRange (from:
varies, to:
varies)
Returns the CharacterStyles within the specified range.
Parameter | Type | Description |
---|---|---|
from | CharacterStyle Long Integer String | The CharacterStyle, index, or name at the beginning of the range. Can accept: CharacterStyle, Long Integer or String. |
to | CharacterStyle Long Integer String | The CharacterStyle, index, or name at the end of the range. Can accept: CharacterStyle, Long Integer or String. |
CharacterStyle lastItem ()
Returns the last CharacterStyle in the collection.
CharacterStyle middleItem ()
Returns the middle CharacterStyle in the collection.
CharacterStyle nextItem (obj:
CharacterStyle)
Returns the CharacterStyle whose index follows the specified CharacterStyle in the collection.
Parameter | Type | Description |
---|---|---|
obj | CharacterStyle | The CharacterStyle whose index comes before the desired CharacterStyle. |
CharacterStyle previousItem (obj:
CharacterStyle)
Returns the CharacterStyle with the index previous to the specified index.
Parameter | Type | Description |
---|---|---|
obj | CharacterStyle | The index of the CharacterStyle that follows the desired CharacterStyle. |
string toSource ()
Generates a string which, if executed, will return the CharacterStyle.
Element of
Application.characterStyles
CharacterStyleGroup.characterStyles
Document.characterStyles
Jongware, 23-Mar-2011 v3.0.3d | Contents :: Index |