Class
CharacterStyles |
| | A collection of character styles. |
QuickLinks |
add, getByName, removeAll |
Hierarchy
|
|
Properties
| | Property | Type | Access | Description |
| length | int |
readonly | Number of elements in the collection. |
| parent | Object |
readonly | The object's container. |
| typename | string |
readonly | The class name of the object. |
|
Methods
| ClassCharacterStyle add (name:
string)
Create a named character style.
| Parameter | Type | Description |
| name | string | The character style name. |
InstancesCharacterStyle getByName (name:
string)
Get the first element in the collection with the provided name.
| Parameter | Type | Description |
| name | string | |
void removeAll ()
Deletes all elements.
|
Element of |
Document.characterStyles
TextRange.characterStyles
|