Contains all paragraph formatting styles in the current document.
ParagraphStyleCollection Introduced: X18.
| Method | Description |
|---|---|
| add | Adds a new style to the current document. |
| element |
Returns the element at a specified index in the collection.
(Inherited from Formatting |
| for |
Executes a callback function for each element.
(Inherited from Formatting |
| get |
Gets the number of elements contained in the collection.
(Inherited from Formatting |
| get |
Gets a style from the collection by the style's name. |
| remove | Removes a formatting style from the collection.
(Inherited from Formatting |
Learn more about the Javascript: Paragraph