Contains all paragraph formatting styles in the current document.

Syntax

ParagraphStyleCollection

Introduced: X18.

Methods

Method Description
add Adds a new style to the current document.
elementAt Returns the element at a specified index in the collection.
(Inherited from FormattingStyleCollection)
forEach Executes a callback function for each element.
(Inherited from FormattingStyleCollection)
getCount Gets the number of elements contained in the collection.
(Inherited from FormattingStyleCollection)
getItem Gets a style from the collection by the style's name.
remove Removes a formatting style from the collection.
(Inherited from FormattingStyleCollection)