Class
CharacterStyle |
| A named style that remembers character attributes. |
QuickLinks |
add, applyTo, remove, removeAll |
Hierarchy
|
|
Properties
| Property | Type | Access | Description |
characterAttributes | CharacterAttributes |
readonly | The character properties for the text range. |
name | string |
r/w | The character style's name. |
parent | Object |
readonly | The object's container. |
typename | string |
readonly | The class name of the object. |
|
Methods
| InstancesCharacterStyle add ()
Adds an element.
void applyTo (textItem:
any[, clearingOverrides:
bool=false])
Apply the character style to text object(s)
Parameter | Type | Description |
textItem |
any
| The text object(s) to apply the style to. |
clearingOverrides | bool | Whether to clear any text attributes before apply the style. (default: false) (Optional) |
void remove ()
Deletes this object.
void removeAll ()
Deletes all elements.
|
Return |
CharacterStyle CharacterStyle.add ()
CharacterStyle CharacterStyles.[] (index:
uint)
CharacterStyle CharacterStyles.add (name:
string)
CharacterStyle CharacterStyles.getByName (name:
string)
|