CharacterStyles

A collection of character styles.

Methods:

add, getByName, removeAll

Property Listing

Property

Type

Access

Description

length

Int

readonly

Number of elements in the collection.

parent

 

readonly

The object's container.

typename

String

readonly

The class name of the object.

Method Listing

CharacterStyle add (name:String)

Create a named character style.

Parameter

Type

Description

name

String

The character style name.

CharacterStyle getByName (name:String)

Get the first element in the collection with the provided name.

Parameter

Type

Description

name

String

 

undefined removeAll ()

Deletes all elements.

Object of

TextRange.characterStyles

Document.characterStyles