Skip to content

CharacterStyle

characterStyle

Associates character attributes with characters. For an example, see CharacterStyles.


characterStyle.characterAttributes

The character properties for the style.

CharacterAttributes; read-only.


characterStyle.name

The character style’s name.

String


characterStyle.parent

The object’s container.

Object; read-only.


characterStyle.typename

The class name of the object.

String; read-only.


characterStyle.applyTo(textItem [,clearingOverrides])

Applies the character style to the text object or objects.

ParameterTypeDescription
textItemObjectText item to apply style to
clearingOverridesBoolean, optionalWhether to clear overrides

Nothing


characterStyle.remove()

Deletes the object.

Nothing.