Adobe Illustrator CS4 Type Library JS: Characters

Illustrator CS4

Class

Characters

 A collection of characters.

QuickLinks

[], add, addBefore, getByName, removeAll

Hierarchy

Object
Characters

Properties

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

Methods

Instances

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

ParameterTypeDescription
indexuint

TextRange add (contents: string)
Create a character.

ParameterTypeDescription
contentsstringThe text string.

TextRange addBefore (contents: string)

ParameterTypeDescription
contentsstringThe text string.

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

ParameterTypeDescription
namestring

void removeAll ()
Deletes all elements.

Element of

InsertionPoint.characters

Story.characters

TextFrameItem.characters

TextRange.characters

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