Adobe Illustrator CS4 Type Library JS: CharacterStyles

Illustrator CS4

Class

CharacterStyles

 A collection of character styles.

QuickLinks

[], add, getByName, removeAll

Hierarchy

Object
CharacterStyles

Properties

PropertyTypeAccessDescription
lengthint readonlyNumber of elements in the collection.
parentObject readonlyThe object's container.
typenamestring readonlyThe class name of the object.

Methods

Instances

CharacterStyle [] (index: uint)
Get an element in the collection with the provided index.

ParameterTypeDescription
indexuint

CharacterStyle add (name: string)
Create a named character style.

ParameterTypeDescription
namestringThe character style name.

CharacterStyle getByName (name: string)
Get the first element in the collection with the provided name.

ParameterTypeDescription
namestring

void removeAll ()
Deletes all elements.

Element of

Document.characterStyles

TextRange.characterStyles

Jongware, 27-Jun-2010 v3.0.3dContents :: Index