Adobe Illustrator CS6 Type Library JS: ParagraphStyle

Illustrator CS6

Class

ParagraphStyle

 A named style that remembers paragraph attributes.

QuickLinks

add, applyTo, remove, removeAll

Hierarchy

Object
ParagraphStyle

Properties

PropertyTypeAccessDescription
characterAttributesCharacterAttributes readonlyThe character properties for the text range.
namestring r/wThe paragraph style's name.
paragraphAttributesParagraphAttributes readonlyThe paragraph properties for the text range.
parentObject readonlyThe object's container.
typenamestring readonlyThe 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)

ParameterTypeDescription
textItem any The text object(s) to apply the style to.
clearingOverridesboolWhether 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.add (name: string)

ParagraphStyle ParagraphStyles.getByName (name: string)

Jongware, 25-Nov-2012 v3.0.3iContents :: Index