Adobe Illustrator CS4 Type Library JS: ParagraphStyles
From Illustrator CS4
Class
ParagraphStyles
A collection of paragraph styles.QuickLinks
[], add, getByName, removeAllHierarchy
Properties
| Property | Type | Access | Description |
|---|---|---|---|
| length | int | readonly | Number of elements in the collection. |
| parent | Object | readonly | The object's container. |
| typename | string | readonly | The class name of the object. |
Methods
Instances
ParagraphStyle [] (index:
uint)
Get an element in the collection with the provided index.
| Parameter | Type | Description |
|---|---|---|
| index | uint |
ParagraphStyle add (name:
string)
Create a named paragraph style.
| Parameter | Type | Description |
|---|---|---|
| name | string | The paragraph style name. |
ParagraphStyle getByName (name:
string)
Get the first element in the collection with the provided name.
| Parameter | Type | Description |
|---|---|---|
| name | string |
void removeAll ()
Deletes all elements.
Element of
Document.paragraphStyles
TextRange.paragraphStyles
| Jongware, 27-Jun-2010 v3.0.3d | Contents :: Index |