Adobe Illustrator CS4 Type Library JS: ParagraphStyle
From Illustrator CS4
Class
ParagraphStyle
A named style that remembers paragraph attributes.QuickLinks
add, applyTo, remove, removeAllHierarchy
Properties
| Property | Type | Access | Description |
|---|---|---|---|
| characterAttributes | CharacterAttributes | readonly | The character properties for the text range. |
| name | string | r/w | The paragraph style's name. |
| paragraphAttributes | ParagraphAttributes | readonly | The paragraph properties for the text range. |
| parent | Object | readonly | The object's container. |
| typename | string | readonly | The class name of the object. |
Methods
Instances
ParagraphStyle add ()
Adds an element.
void applyTo (textItem:
any[, clearingOverrides:
bool=false])
Apply the paragraph style to text object(s)
| Parameter | Type | Description |
|---|---|---|
| textItem | any | The text object(s) to apply the style to. |
| clearingOverrides | bool | Whether to clear any text attributes before apply the style. (default: false) (Optional) |
void remove ()
Deletes this object.
void removeAll ()
Deletes all elements.
Return
ParagraphStyle ParagraphStyle.add ()
ParagraphStyle ParagraphStyles.[] (index: uint)
ParagraphStyle ParagraphStyles.add (name: string)
ParagraphStyle ParagraphStyles.getByName (name: string)
| Jongware, 27-Jun-2010 v3.0.3d | Contents :: Index |