ParagraphStyle

A named style that remembers paragraph attributes.

Methods:

add, applyTo, clear, remove, removeAll

Objects:

CharacterAttributes, ParagraphAttributes, String

Property Listing

Property

Type

Access

Description

characterAttributes

CharacterAttributes

readonly

The character properties for the text range.

name

String

read/write

The paragraph style's name.

paragraphAttributes

ParagraphAttributes

readonly

The paragraph properties for the text range.

parent

 

readonly

The object's container.

typename

String

readonly

The class name of the object.

Method Listing

ParagraphStyle add ()

Adds an element.

undefined applyTo (textItem:Varies, [clearingOverrides:Boolean=Boolean])

Apply the paragraph style to text object(s)

Parameter

Type

Description

textItem

Varies

The text object(s) to apply the style to.

clearingOverrides

Boolean

Whether to clear any text attributes before apply the style.

(default: false)

undefined clear ()

Remove all the attributes from this paragraph style.

undefined remove ()

Deletes this object.

undefined removeAll ()

Deletes all elements.

Return

ParagraphStyle.add()

ParagraphStyles.add()

ParagraphStyles.getByName()